115
118
basename = os.path.basename(dest)
117
stream = gzip.GzipFile(basename, 'w', fileobj=stream, mtime=root_mtime)
120
zipstream = gzip.GzipFile(basename, 'w', fileobj=stream, mtime=root_mtime)
119
122
# Python < 2.7 doesn't support the mtime argument
122
125
export_tarball(tree, ball, root, subdir, filtered=filtered,
127
133
def tbz_exporter(tree, dest, root, subdir, filtered=False, force_mtime=None):