From: martin@piware.de <> Date: Wed, 17 Jun 2009 17:10:33 +0000 (+0200) Subject: workitems.py: make "complete" an alias for "done" X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=c4d56a5784f69f6f9b442058b14be5cc05a8ed26;p=bin.git workitems.py: make "complete" an alias for "done" --- diff --git a/workitems.py b/workitems.py index 2ff3114..1147efa 100755 --- a/workitems.py +++ b/workitems.py @@ -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)