~deryck/lpmedic/trunk

« back to all changes in this revision

Viewing changes to lpmedic.py

  • Committer: Deryck Hodge
  • Date: 2010-08-03 17:54:29 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: deryck.hodge@canonical.com-20100803175429-shker3lf2r4rz7ex
Further updates for the 1.0 version of the API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
                    'Set this bug to %s? [y/N] ' % suggested_importance)
152
152
                if do_importance.lower() == 'y':
153
153
                    if task.status != u'Triaged':
154
 
                        task.transitionToStatus(status=u'Triaged')
155
 
                    task.transitionToImportance(importance=suggested_importance)
 
154
                        task.status = u'Triaged'
 
155
                    task.importance = suggested_importance
 
156
                    task.lp_save()
156
157
                    print 'Set bug %d to (Triaged, %s)' % (
157
158
                        task.bug.id, suggested_importance)
158
159
                    go_again = raw_input('Continue triaging bugs? [Y/n] ')