]> piware.de Git - bin.git/commitdiff
workitems.py: make "inprogress" an alias for "todo"
authormartin@piware.de <>
Thu, 18 Jun 2009 15:52:13 +0000 (17:52 +0200)
committermartin@piware.de <>
Thu, 18 Jun 2009 15:52:13 +0000 (17:52 +0200)
workitems.py

index 1147efab359e3ea0471025678392554770e1768e..ec311b87169a295eb3a39f666c8ee2da06197a6b 100755 (executable)
@@ -111,6 +111,8 @@ def get_blueprint_workitems(blueprint_url):
             state = 'todo'
         if state == 'completed':
             state = 'done'
+        if state == 'inprogress':
+            state = 'todo'
         if state not in valid_states:
             print >> sys.stderr, 'ERROR: invalid state "%s" for work item "%s"' % (
                 state, desc)