~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Vincent Ladeuil
  • Date: 2010-04-15 06:47:06 UTC
  • mto: (5158.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5159.
  • Revision ID: v.ladeuil+lp@free.fr-20100415064706-gaonf6ydrgpx5fzh
Use the proper argument for the warning.

* bzrlib/mutabletree.py:
(MutableTree.warn_if_changed_or_out_of_date): Don't outsmart %.

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
                if strict is None:
287
287
                    # We don't want to interrupt the user if he expressed no
288
288
                    # preference about strict.
289
 
                    trace.warning('%s', (err._format(),))
 
289
                    trace.warning('%s', err._format())
290
290
                else:
291
291
                    raise err
292
292