~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2012-08-02 10:38:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20120802103821-pto2dgacjtmpzl1n
Move color feature into bzrlib.tests.features.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3250
3250
 
3251
3251
class ExpandingUnknownOption(BzrError):
3252
3252
 
3253
 
    _fmt = 'Option "%(name)s" is not defined while expanding "%(string)s".'
 
3253
    _fmt = 'Option %(name)s is not defined while expanding "%(string)s".'
3254
3254
 
3255
3255
    def __init__(self, name, string):
3256
3256
        self.name = name
3257
3257
        self.string = string
3258
3258
 
3259
3259
 
3260
 
class IllegalOptionName(BzrError):
3261
 
 
3262
 
    _fmt = 'Option "%(name)s" is not allowed.'
3263
 
 
3264
 
    def __init__(self, name):
3265
 
        self.name = name
3266
 
 
3267
 
 
3268
3260
class NoCompatibleInter(BzrError):
3269
3261
 
3270
3262
    _fmt = ('No compatible object available for operations from %(source)r '