~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-05 22:52:58 UTC
  • mfrom: (3080 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3084.
  • Revision ID: john@arbash-meinel.com-20071205225258-kn799zf3tewncv7p
[merge] bzr.dev 3080

Show diffs side-by-side

added added

removed removed

Lines of Context:
2299
2299
        self.reason = reason
2300
2300
 
2301
2301
 
 
2302
class InvalidBugTrackerURL(BzrError):
 
2303
 
 
2304
    _fmt = ("The URL for bug tracker \"%(abbreviation)s\" doesn't "
 
2305
            "contain {id}: %(url)s")
 
2306
 
 
2307
    def __init__(self, abbreviation, url):
 
2308
        self.abbreviation = abbreviation
 
2309
        self.url = url
 
2310
 
 
2311
 
2302
2312
class UnknownBugTrackerAbbreviation(BzrError):
2303
2313
 
2304
2314
    _fmt = ("Cannot find registered bug tracker called %(abbreviation)s "