Lines Matching full:compress
337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
342 'compress' must be "gzip" (the default), "bzip2", or None.
357 if compress is not None and compress not in compress_ext.keys():
359 ("bad value for 'compress': must be None, 'gzip' or 'bzip2'")
361 archive_name = base_name + '.tar' + compress_ext.get(compress, '')
390 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
464 'gztar': (_make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"),
465 'bztar': (_make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"),
466 'tar': (_make_tarball, [('compress', None)], "uncompressed tar file"),