From: martin@piware.de <> Date: Thu, 6 Aug 2009 10:51:33 +0000 (+0100) Subject: workitems: make postpone an alias for postponed X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=5d50bc350abcad898a0d1cc235758dfc3cccfac0 workitems: make postpone an alias for postponed --- diff --git a/workitems.py b/workitems.py index 6e01080..d562106 100755 --- a/workitems.py +++ b/workitems.py @@ -117,6 +117,8 @@ def get_blueprint_workitems(blueprint_url): state = 'done' if state == 'inprogress': state = 'todo' + if state == 'postpone': + state = 'postponed' if state not in valid_states: print >> sys.stderr, 'ERROR: invalid state "%s" for work item "%s"' % ( state, desc)