/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/progress.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-01-19 10:25:07 UTC
  • mfrom: (3943.2.5 hpss-upgrade)
  • Revision ID: pqm@pqm.ubuntu.com-20090119102507-0ue83url4iguuol1
(mbp) small refactorings of upgrade

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    def note(self, fmt_string, *args):
119
119
        """Record a note without disrupting the progress bar."""
120
120
        # XXX: shouldn't be here; put it in mutter or the ui instead
121
 
        self.ui_factory.note(fmt_string % args)
 
121
        if args:
 
122
            self.ui_factory.note(fmt_string % args)
 
123
        else:
 
124
            self.ui_factory.note(fmt_string)
122
125
 
123
126
    def clear(self):
124
127
        # XXX: shouldn't be here; put it in mutter or the ui instead