56
56
with closing(zipfile.ZipFile(buf, "w", compression)) as zipf, \
58
58
for dp, tp, ie in _export_iter_entries(tree, subdir):
60
mutter(" export {%s} kind %s to %s", file_id, ie.kind, dest)
59
mutter(" export {%s} kind %s to %s", tp, ie.kind, dest)
62
61
# zipfile.ZipFile switches all paths to forward
63
62
# slashes anyway, so just stick with that.
64
63
if force_mtime is not None:
68
67
date_time = time.localtime(mtime)[:6]
69
68
filename = osutils.pathjoin(root, dp)