~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-18 17:19:34 UTC
  • mto: This revision was merged to the branch mainline in revision 4934.
  • Revision ID: john@arbash-meinel.com-20091218171934-l7og4as9pj7pyqr5
Use clear() so that we clear a progress bar, but don't introduce a newline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
414
414
                        self._total_byte_count)
415
415
        trace.mutter(byte_message)
416
416
        if display:
417
 
            self._term_file.write('\n%s\n' % (byte_message,))
 
417
            self.clear()
 
418
            self._term_file.write('%s\n' % (byte_message,))
418
419
 
419
420
 
420
421
class TextUIOutputStream(object):