Commit 85eff791 authored by Jason R. Coombs's avatar Jason R. Coombs

Merged in mumak/distribute (pull request #14)

--HG--
branch : distribute
extra : rebase_source : d8c7ca9f7aec8b82aa94b5e0a940da46964792db
parents 6f9ff72c 6cfedcaa
......@@ -158,6 +158,9 @@ def unpack_zipfile(filename, extract_dir, progress_filter=default_filter):
finally:
f.close()
del data
unix_attributes = info.external_attr >> 16
if unix_attributes:
os.chmod(target, unix_attributes)
finally:
z.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment