~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/serializer.py

  • Committer: Jelmer Vernooij
  • Date: 2009-06-09 00:59:51 UTC
  • mto: (4443.1.1 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 4444.
  • Revision ID: jelmer@samba.org-20090609005951-apv900cdk35o2ygh
Move squashing of XML-invalid characters to XMLSerializer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
class Serializer(object):
25
25
    """Inventory and revision serialization/deserialization."""
26
26
 
 
27
    squashes_xml_invalid_characters = False
 
28
 
27
29
    def write_inventory(self, inv, f):
28
30
        """Write inventory to a file"""
29
31
        raise NotImplementedError(self.write_inventory)