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