27
27
squashes_xml_invalid_characters = False
29
29
def write_inventory(self, inv, f):
35
31
raise NotImplementedError(self.write_inventory)
37
33
def write_inventory_to_string(self, inv):
50
34
raise NotImplementedError(self.write_inventory_to_string)
52
36
def read_inventory_from_string(self, string, revision_id=None,
54
38
"""Read string into an inventory object.
56
40
:param string: The serialized inventory to read.