~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2006-06-11 11:44:47 UTC
  • mfrom: (1762 +trunk)
  • mto: (1767.2.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1769.
  • Revision ID: robertc@robertcollins.net-20060611114447-ba56b7e27a72c941
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
class BzrCommandError(BzrError):
167
167
    # Error from malformed user command
168
168
    # This is being misused as a generic exception
169
 
    # please subclass. RBC 20051030
 
169
    # pleae subclass. RBC 20051030
170
170
    #
171
171
    # I think it's a waste of effort to differentiate between errors that
172
172
    # are not intended to be caught anyway.  UI code need not subclass
511
511
    def __init__(self, bases):
512
512
        warn("BzrError AmbiguousBase has been deprecated as of bzrlib 0.8.",
513
513
                DeprecationWarning)
514
 
        msg = "The correct base is unclear, because %s are all equally close" %\
 
514
        msg = "The correct base is unclear, becase %s are all equally close" %\
515
515
            ", ".join(bases)
516
516
        BzrError.__init__(self, msg)
517
517
        self.bases = bases