~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-29 09:45:47 UTC
  • mfrom: (2765.1.2 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070829094547-qm9ntd7pd95r7w8c
(Daniel Watkins) fix for commit raising UnicodeError (traceback) if LANG is incorrect

Show diffs side-by-side

added added

removed removed

Lines of Context:
950
950
        BzrError.__init__(self, files=files, files_str=files_str)
951
951
 
952
952
 
 
953
class BadCommitMessageEncoding(BzrError):
 
954
 
 
955
    _fmt = 'The specified commit message contains characters unsupported by '\
 
956
        'the current encoding.'
 
957
 
 
958
 
953
959
class UpgradeReadonly(BzrError):
954
960
 
955
961
    _fmt = "Upgrade URL cannot work with readonly URLs."