diff getan/project.py @ 398:5f557bd2cfe0

Scanning for workpackage string is now closer to what zeitvertexung does.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 30 Nov 2015 16:59:52 +0100
parents 23eea2dbb5eb
children a499441249af
line wrap: on
line diff
--- a/getan/project.py	Mon Nov 30 12:43:08 2015 +0100
+++ b/getan/project.py	Mon Nov 30 16:59:52 2015 +0100
@@ -82,7 +82,7 @@
 
 class Entry(object):
 
-    WORKPACKAGE = re.compile("^\[(\w*)(\s|\])")
+    WORKPACKAGE = re.compile("^\[([^\s\]]+)(\s|\])")
 
     def __init__(self, id, project_id, start, end, desc):
         self.id = id
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)