Commit cb8b86c1 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Use 0o for octal instead of deprecated 0 and drop deprecated (and pointless) L.

parent 8ed27a5f
......@@ -573,7 +573,7 @@ class Environment(object):
def write_file(filename, data, mode):
if zip:
info = ZipInfo(filename)
info.external_attr = 0755 << 16L
info.external_attr = 0o755 << 16
zip_file.writestr(info, data)
else:
f = open(os.path.join(target, filename), mode)
......
Supports Markdown
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