~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Martin Pool
  • Date: 2005-08-17 02:11:25 UTC
  • Revision ID: mbp@sourcefrog.net-20050817021125-178eae78b609dad8
- note for contributors to please update the NEWS file

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        self.show_eta = show_eta
95
95
        self.show_bar = show_bar
96
96
        self.show_count = show_count
97
 
 
98
 
 
99
 
 
100
 
class DummyProgress(_BaseProgressBar):
101
 
    """Progress-bar standin that does nothing.
102
 
 
103
 
    This can be used as the default argument for methods that
104
 
    take an optional progress indicator."""
105
 
    def tick(self):
106
 
        pass
107
 
 
108
 
    def update(self, msg=None, current=None, total=None):
109
 
        pass
110
 
 
111
 
    def clear(self):
112
 
        pass
 
97
        
113
98
        
114
99
    
115
100
class DotsProgressBar(_BaseProgressBar):