~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jonathan Lange
  • Date: 2007-04-20 02:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2446.
  • Revision ID: jml@canonical.com-20070420022738-07tr3bqahw14ftdh
Include branch information in UnknownBugTrackerAbbreviation

Show diffs side-by-side

added added

removed removed

Lines of Context:
2059
2059
 
2060
2060
class UnknownBugTrackerAbbreviation(BzrError):
2061
2061
 
2062
 
    _fmt = "Cannot find registered bug tracker for %(abbreviation)s"
 
2062
    _fmt = ("Cannot find registered bug tracker for %(abbreviation)s "
 
2063
            "on %(branch)s")
2063
2064
 
2064
 
    def __init__(self, abbreviation):
 
2065
    def __init__(self, abbreviation, branch):
2065
2066
        self.abbreviation = abbreviation
 
2067
        self.branch = branch