~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-10 03:06:24 UTC
  • mfrom: (4961.2.22 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20100210030624-wnjdp7yy7zb8vu7u
(mbp) Remove passing-around of ProgressBars

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    trace,
74
74
    tsort,
75
75
    tuned_gzip,
 
76
    ui,
76
77
    )
77
78
""")
78
79
from bzrlib import (
1755
1756
        :return: An iterator over (line, key).
1756
1757
        """
1757
1758
        if pb is None:
1758
 
            pb = progress.DummyProgress()
 
1759
            pb = ui.ui_factory.nested_progress_bar()
1759
1760
        keys = set(keys)
1760
1761
        total = len(keys)
1761
1762
        done = False