~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/groupcompress.py

  • Committer: Parth Malwankar
  • Date: 2010-05-13 10:08:32 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100513100832-ixcghm572bgvxbse
code cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1659
1659
            pb = ui.ui_factory.nested_progress_bar()
1660
1660
            pb.update('', record_counter.current, record_counter.max)
1661
1661
        for record in stream:
1662
 
            # update progressbar only every 51 records
 
1662
            # update progressbar only every STEP records
1663
1663
            if record_counter and record_counter.max > 0:
1664
1664
                if counter == record_counter.STEP:
1665
1665
                    record_counter.increment(counter)