~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-10 21:24:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1854.
  • Revision ID: john@arbash-meinel.com-20060710212455-13af54c421c4d806
Add tests to assert we fall back to DotsProgressBar when appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        self._show_count = show_count
92
92
        self._to_messages_file = to_messages_file
93
93
        self._stack = []
94
 
        self._klass = klass or TTYProgressBar
 
94
        self._klass = klass or ProgressBar
95
95
 
96
96
    def top(self):
97
97
        if len(self._stack) != 0: