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:
parent
0977ef02c4
commit
608af12b1d
|
@ -197,7 +197,6 @@ class Sender:
|
||||||
# We're sending a directory. Create a zipfile in a tempdir and
|
# We're sending a directory. Create a zipfile in a tempdir and
|
||||||
# send that.
|
# send that.
|
||||||
fd_to_send = tempfile.SpooledTemporaryFile()
|
fd_to_send = tempfile.SpooledTemporaryFile()
|
||||||
# TODO: I think ZIP_DEFLATED means compressed.. check it
|
|
||||||
num_files = 0
|
num_files = 0
|
||||||
num_bytes = 0
|
num_bytes = 0
|
||||||
tostrip = len(what.split(os.sep))
|
tostrip = len(what.split(os.sep))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user