From: martin@piware.de <> Date: Wed, 5 Aug 2009 11:52:52 +0000 (+0100) Subject: workitems.py: fix

parsing harder X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=153145e8b5b54c3c6ee6ec5af42e9ec7a93129b1;p=bin.git workitems.py: fix

parsing harder --- diff --git a/workitems.py b/workitems.py index f28db44..6e01080 100755 --- a/workitems.py +++ b/workitems.py @@ -101,8 +101,7 @@ def get_blueprint_workitems(blueprint_url): end = True l = l.replace('
', '').replace('', '').replace('

', '').strip() - # ends with empty line - if end or not l: + if not l: break try: @@ -124,6 +123,9 @@ def get_blueprint_workitems(blueprint_url): continue result.append((desc, state)) + if end: + break + return result def get_moin_workitems(url):