~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.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:
16
16
 
17
17
from bzrlib.xml_serializer import (
18
18
    Element,
 
19
    ElementTree,
19
20
    SubElement,
20
21
    XMLSerializer,
21
22
    escape_invalid_chars,
22
23
    )
23
 
from bzrlib.inventory import ROOT_ID, Inventory
 
24
from bzrlib.inventory import ROOT_ID, Inventory, InventoryEntry
24
25
import bzrlib.inventory as inventory
25
26
from bzrlib.revision import Revision
26
27
from bzrlib.errors import BzrError