From: martin@piware.de <> Date: Thu, 18 Jun 2009 15:52:13 +0000 (+0200) Subject: workitems.py: make "inprogress" an alias for "todo" X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=a68f93866e6f37721f2ea327ba8a743260018ad0 workitems.py: make "inprogress" an alias for "todo" --- diff --git a/workitems.py b/workitems.py index 1147efa..ec311b8 100755 --- a/workitems.py +++ b/workitems.py @@ -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)