~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: 2009-06-17 10:04:37 UTC
  • mfrom: (4449.2.6 339385-set-progress-bar)
  • Revision ID: pqm@pqm.ubuntu.com-20090617100437-gavn9zkum4dj5yjz
(mbp) resurrect BZR_PROGRESS_BAR

Show diffs side-by-side

added added

removed removed

Lines of Context:
2172
2172
    _fmt = "Cannot perform local-only commits on unbound branches."
2173
2173
 
2174
2174
 
2175
 
class InvalidProgressBarType(BzrError):
2176
 
 
2177
 
    _fmt = ("Environment variable BZR_PROGRESS_BAR='%(bar_type)s"
2178
 
            " is not a supported type Select one of: %(valid_types)s")
2179
 
 
2180
 
    def __init__(self, bar_type, valid_types):
2181
 
        BzrError.__init__(self, bar_type=bar_type, valid_types=valid_types)
2182
 
 
2183
 
 
2184
2175
class UnsupportedOperation(BzrError):
2185
2176
 
2186
2177
    _fmt = ("The method %(mname)s is not supported on"