verified that ZIP_DEFLATED compresses the files

The docs are a bit misleading but that's how I interpret them.
This commit is contained in:
Kurt Neufeld 2016-06-03 10:03:38 -07:00
parent 0977ef02c4
commit 608af12b1d

View File

@ -197,7 +197,6 @@ class Sender:
# We're sending a directory. Create a zipfile in a tempdir and
# send that.
fd_to_send = tempfile.SpooledTemporaryFile()
# TODO: I think ZIP_DEFLATED means compressed.. check it
num_files = 0
num_bytes = 0
tostrip = len(what.split(os.sep))