~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2007-04-20 03:32:20 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070420033220-bwu4sb8t1a6vfamw
Ensure each HelpIndex has a unique prefix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1540
1540
    _fmt = "Key %(key)s is already present in map"
1541
1541
 
1542
1542
 
 
1543
class DuplicateHelpPrefix(BzrError):
 
1544
 
 
1545
    _fmt = "The prefix %(prefix)s is in the help search path twice."
 
1546
 
 
1547
    def __init__(self, prefix):
 
1548
        self.prefix = prefix
 
1549
 
 
1550
 
1543
1551
class MalformedTransform(BzrError):
1544
1552
 
1545
1553
    _fmt = "Tree transform is malformed %(conflicts)r"