]> piware.de Git - bin.git/commitdiff
workitems.py: Fix parsing of WIs in last line
authormartin@piware.de <>
Sat, 13 Jun 2009 07:46:41 +0000 (09:46 +0200)
committermartin@piware.de <>
Sat, 13 Jun 2009 07:46:41 +0000 (09:46 +0200)
workitems.py

index 8fa15cb777bad5df73e82ee6b3eb68aca0f9a579..b9ee19524cbeee4b42e9f6b4917b69115b86c7ac 100755 (executable)
@@ -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: