~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Martin Pool
  • Date: 2005-07-18 10:21:43 UTC
  • Revision ID: mbp@sourcefrog.net-20050718102142-6a53001fa98bb066
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
not to clutter log files.
27
27
"""
28
28
 
29
 
# TODO: remove functions in favour of keeping everything in one class
30
 
 
31
29
# TODO: should be a global option e.g. --silent that disables progress
32
30
# indicators, preferably without needing to adjust all code that
33
31
# potentially calls them.
35
33
# TODO: Perhaps don't write updates faster than a certain rate, say
36
34
# 5/second.
37
35
 
 
36
# TODO: Optionally show elapsed time instead/as well as ETA; nicer
 
37
# when the rate is unpredictable
 
38
 
38
39
 
39
40
import sys
40
41
import time