]> piware.de Git - bin.git/commitdiff
workitems.py: make "complete" an alias for "done"
authormartin@piware.de <>
Wed, 17 Jun 2009 17:10:33 +0000 (19:10 +0200)
committermartin@piware.de <>
Wed, 17 Jun 2009 17:10:33 +0000 (19:10 +0200)
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)