99
97
def _append_inventory_root(self, append, inv):
100
98
"""Append the inventory root to output."""
101
99
if inv.root.file_id not in (None, inventory.ROOT_ID):
103
101
fileid2 = encode_and_escape(inv.root.file_id)
107
105
if inv.revision_id is not None:
109
107
revid2 = encode_and_escape(inv.revision_id)
114
112
fileid1, fileid2, revid1, revid2))