~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/serializer.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-15 20:11:32 UTC
  • mfrom: (4443.1.2 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20090615201132-p32zthmt3rjn2tfk
(Jelmer) 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)