From: martin@piware.de <>
Date: Sat, 13 Jun 2009 07:46:41 +0000 (+0200)
Subject: workitems.py: Fix parsing of WIs in last line
X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=181da12c50392917f08f98600c08c2cfc0946b73;p=bin.git

workitems.py: Fix parsing of WIs in last line
---

diff --git a/workitems.py b/workitems.py
index 8fa15cb..b9ee195 100755
--- a/workitems.py
+++ b/workitems.py
@@ -91,9 +91,7 @@ def get_workitems(blueprint_url):
                 found_workitems = True
             continue
 
-        l = l.strip()
-        if l.endswith('<br />'):
-            l = l[:-6]
+        l = l.replace('<br />', '').replace('</div>', '').strip()
 
         # ends with empty line
         if l.endswith('</p>') or not l: