~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Martin Pool
  • Date: 2009-06-23 06:58:46 UTC
  • mto: This revision was merged to the branch mainline in revision 4586.
  • Revision ID: mbp@sourcefrog.net-20090623065846-wvsuj9gip4e723i1
Update docstrings for recent progress changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
 
145
145
@deprecated_function(deprecated_in((1, 16, 0)))
146
146
def ProgressBar(to_file=None, **kwargs):
147
 
    """Abstract factory"""
 
147
    """Construct a progress bar.
 
148
 
 
149
    Deprecated; ask the ui_factory for a progress task instead.
 
150
    """
148
151
    if to_file is None:
149
152
        to_file = sys.stderr
150
153
    requested_bar_type = os.environ.get('BZR_PROGRESS_BAR')