~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-04 13:42:42 UTC
  • mfrom: (4463.1.2 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20090804134242-l38wkokrlhd8ci6l
(mbp) updates to progress-related docstrings and remove another
        obsolete method

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
 
175
175
@deprecated_function(deprecated_in((1, 16, 0)))
176
176
def ProgressBar(to_file=None, **kwargs):
177
 
    """Abstract factory"""
 
177
    """Construct a progress bar.
 
178
 
 
179
    Deprecated; ask the ui_factory for a progress task instead.
 
180
    """
178
181
    if to_file is None:
179
182
        to_file = sys.stderr
180
183
    requested_bar_type = os.environ.get('BZR_PROGRESS_BAR')