1233
1233
def has_id(self, file_id):
1234
1234
return (file_id in self._byid)
1245
delta.append((old.id2path(file_id), None, file_id, None))
1247
delta.append((None, self.id2path(file_id), file_id, self[file_id]))
1236
1254
def remove_recursive_id(self, file_id):
1237
1255
"""Remove file_id, and children, from the inventory.
1239
1257
:param file_id: A file_id to remove.
1241
1259
to_find_delete = [self._byid[file_id]]