~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-12 13:03:16 UTC
  • mfrom: (4119.4.5 bug-parsing)
  • Revision ID: pqm@pqm.ubuntu.com-20090312130316-vmqowmbcu2tzynem
(robertc) Add Revision.iter_bugs() method for getting bugs fixed by a
        revision. (Jonathan Lange)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2532
2532
        self.branch = branch
2533
2533
 
2534
2534
 
 
2535
class InvalidLineInBugsProperty(BzrError):
 
2536
 
 
2537
    _fmt = ("Invalid line in bugs property: '%(line)s'")
 
2538
 
 
2539
    def __init__(self, line):
 
2540
        self.line = line
 
2541
 
 
2542
 
 
2543
class InvalidBugStatus(BzrError):
 
2544
 
 
2545
    _fmt = ("Invalid bug status: '%(status)s'")
 
2546
 
 
2547
    def __init__(self, status):
 
2548
        self.status = status
 
2549
 
 
2550
 
2535
2551
class UnexpectedSmartServerResponse(BzrError):
2536
2552
 
2537
2553
    _fmt = "Could not understand response from smart server: %(response_tuple)r"