/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-12 03:16:07 UTC
  • mfrom: (1843.3.10 cleanup-progress)
  • Revision ID: pqm@pqm.ubuntu.com-20060712031607-3662d1acc5a6c28d
(jam) allow progress bar to be set with BZR_PROGRESS_BAR

Show diffs side-by-side

added added

removed removed

Lines of Context:
970
970
    """A nested progress bar was not 'finished' correctly."""
971
971
 
972
972
 
 
973
class InvalidProgressBarType(BzrNewError):
 
974
    """Environment variable BZR_PROGRESS_BAR='%(bar_type)s is not a supported type
 
975
Select one of: %(valid_types)s"""
 
976
 
 
977
    def __init__(self, bar_type, valid_types):
 
978
        BzrNewError.__init__(self, bar_type=bar_type, valid_types=valid_types)
 
979
 
 
980
 
973
981
class UnsupportedOperation(BzrNewError):
974
982
    """The method %(mname)s is not supported on objects of type %(tname)s."""
975
983
    def __init__(self, method, method_self):