~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-05 15:58:13 UTC
  • mfrom: (4413.2.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20090605155813-4bxv90z2pchl0jwd
(vila) Fix some OSX test regressions

Show diffs side-by-side

added added

removed removed

Lines of Context:
728
728
    def finished(self):
729
729
        """See progress.ProgressBar.finished()."""
730
730
 
731
 
    def note(self, fmt_string, *args, **kwargs):
 
731
    def note(self, fmt_string, *args):
732
732
        """See progress.ProgressBar.note()."""
733
 
        self.stdout.write((fmt_string + "\n") % args)
 
733
        if args:
 
734
            fmt_string = fmt_string % args
 
735
        self.stdout.write(fmt_string + "\n")
734
736
 
735
737
    def progress_bar(self):
736
738
        return self