~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Martin Pool
  • Date: 2005-06-10 09:42:14 UTC
  • Revision ID: mbp@sourcefrog.net-20050610094214-644149de33083153
- fix sweeping bar progress indicator

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
                # don't know total, so can't show completion.
186
186
                # so just show an expanded spinning thingy
187
187
                m = self.spin_pos % cols
188
 
                ms = ' ' * cols
189
 
                ms[m] = '*'
 
188
                ms = (' ' * m + '*').ljust(cols)
190
189
                
191
190
                bar_str = '[' + ms + '] '
192
191
        else: