~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to annotate.py

  • Committer: Aaron Bentley
  • Date: 2005-07-25 14:17:15 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050725141715-d410836f6e4a32c0
Got baz2bzr/annotate working now that ProgressBar is a function

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib.errors import BzrCommandError
20
20
import os
21
21
import progress
 
22
from progress import show_progress
22
23
import patches
23
24
import difflib
24
25
import sys
72
73
            for result in iter_annotate_file(lines, anno_d_iter):
73
74
                if isinstance(result, progress.Progress):
74
75
                    result.total = total
75
 
                    progress_bar(result)
 
76
                    show_progress(progress_bar, result)
76
77
                else:
77
78
                    anno_lines = result
78
79
        finally: