14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33
25
class Serializer_v5(xml6.Serializer_v6):
36
28
Packs objects into XML and vice versa.
39
31
root_id = inventory.ROOT_ID
41
def _unpack_inventory(self, elt, revision_id, entry_cache=None,
33
def _unpack_inventory(self, elt, revision_id, entry_cache=None):
43
34
"""Construct from XML Element
45
36
root_id = elt.get('file_id') or inventory.ROOT_ID
48
39
format = elt.get('format')