~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-12-08 01:00:58 UTC
  • mfrom: (3095 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3133.
  • Revision ID: aaron.bentley@utoronto.ca-20071208010058-1vuj9qn49qfu808e
Merge bzr.dev

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 "