~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

Bad change.  (broke tests).  Reverted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
 
45
45
import bzrlib.errors as errors
46
 
from bzrlib.trace import mutter, note
 
46
from bzrlib.trace import mutter 
47
47
 
48
48
 
49
49
def _supports_progress(f):
164
164
 
165
165
    def note(self, fmt_string, *args, **kwargs):
166
166
        """Record a note without disrupting the progress bar."""
167
 
        note(fmt_string % args)
 
167
        self.clear()
 
168
        self.to_messages_file.write(fmt_string % args)
 
169
        self.to_messages_file.write('\n')
168
170
 
169
171
    def child_progress(self, **kwargs):
170
172
        return ChildProgress(**kwargs)