~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Martin Pool
  • Date: 2009-06-19 08:01:38 UTC
  • mto: This revision was merged to the branch mainline in revision 4558.
  • Revision ID: mbp@sourcefrog.net-20090619080138-1ov7h6hp5zbijtd5
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
        return _progress_bar_types[requested_bar_type](to_file=to_file, **kwargs)
187
187
 
188
188
 
 
189
# NOTE: This is also deprecated; you should provide a ProgressView instead.
189
190
class _BaseProgressBar(object):
190
191
 
191
192
    def __init__(self,
473
474
        #self.to_file.flush()
474
475
 
475
476
 
 
477
 
 
478
# DEPRECATED
476
479
class ChildProgress(_BaseProgressBar):
477
480
    """A progress indicator that pushes its data to the parent"""
478
481