~jdong/pyfragtools/trunk

« back to all changes in this revision

Viewing changes to defrag

  • Committer: John Dong
  • Date: 2006-05-03 01:43:09 UTC
  • Revision ID: jdong@jdong-laptop-20060503014309-b8b22cb26fef9a25
Remove bzrlib dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
 
212
212
 
213
213
    def __init__(self, **kwargs):
214
 
        from bzrlib.osutils import terminal_width
 
214
        #from bzrlib.osutils import terminal_width
 
215
        #TODO: Determine terminal width
215
216
        _BaseProgressBar.__init__(self, **kwargs)
216
217
        self.spin_pos = 0
217
 
        self.width = terminal_width()
 
218
        self.width = 80
218
219
        self.start_time = time.time()
219
220
        self.last_updates = deque()
220
221
        self.child_fraction = 0