]> piware.de Git - bin.git/blobdiff - workitems.py
workitems.py: make "complete" an alias for "done"
[bin.git] / workitems.py
index 2ff3114427dedc93e90079c94176a4d1742ec127..1147efab359e3ea0471025678392554770e1768e 100755 (executable)
@@ -109,6 +109,8 @@ def get_blueprint_workitems(blueprint_url):
         state = state.strip().lower()
         if not state:
             state = 'todo'
+        if state == 'completed':
+            state = 'done'
         if state not in valid_states:
             print >> sys.stderr, 'ERROR: invalid state "%s" for work item "%s"' % (
                 state, desc)