~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jonathan Lange
  • Date: 2009-03-12 07:35:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4134.
  • Revision ID: jml@canonical.com-20090312073517-z8di5cdnoydh6jcs
Add Revision.iter_bugs.

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"