~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2006-06-10 00:21:11 UTC
  • mto: (1558.16.3 revert-missing)
  • mto: This revision was merged to the branch mainline in revision 1767.
  • Revision ID: jelmer@samba.org-20060610002111-ff582d7ee2090037
Fix some types (found using aspell).

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
 
    # pleae subclass. RBC 20051030
 
169
    # please 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, becase %s are all equally close" %\
 
514
        msg = "The correct base is unclear, because %s are all equally close" %\
515
515
            ", ".join(bases)
516
516
        BzrError.__init__(self, msg)
517
517
        self.bases = bases