~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_propose.py

  • Committer: Ross Lagerwall
  • Date: 2012-02-26 15:43:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6479.
  • Revision ID: rosslagerwall@gmail.com-20120226154302-ix3md8zl778gv7x3
Allow the --fixes argument to start with 'lp:' for consistency with bzr commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        if self.approve:
206
206
            self.call_webservice(mp.setStatus, status='Approved')
207
207
        if self.fixes:
 
208
            if self.fixes.startswith('lp:'):
 
209
                self.fixes = self.fixes[3:]
208
210
            self.call_webservice(
209
211
                self.source_branch.lp.linkBug,
210
212
                bug=self.launchpad.bugs[int(self.fixes)])