]> piware.de Git - bin.git/blobdiff - workitems.py
workitems.py: make "inprogress" an alias for "todo"
[bin.git] / workitems.py
index 2ff3114427dedc93e90079c94176a4d1742ec127..ec311b87169a295eb3a39f666c8ee2da06197a6b 100755 (executable)
@@ -109,6 +109,10 @@ def get_blueprint_workitems(blueprint_url):
         state = state.strip().lower()
         if not state:
             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)