From 153145e8b5b54c3c6ee6ec5af42e9ec7a93129b1 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Wed, 5 Aug 2009 12:52:52 +0100 Subject: [PATCH] workitems.py: fix

parsing harder --- workitems.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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): -- 2.39.5