mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 17:34:04 +00:00
13 lines
448 B
Diff
13 lines
448 B
Diff
|
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
|
||
|
index 4856594755..6769ab8026 100644
|
||
|
--- a/Lib/venv/__init__.py
|
||
|
+++ b/Lib/venv/__init__.py
|
||
|
@@ -522,6 +522,7 @@ def skip_file(f):
|
||
|
with open(dstfile, 'wb') as f:
|
||
|
f.write(new_data)
|
||
|
shutil.copymode(srcfile, dstfile)
|
||
|
+ os.chmod(dstfile, 0o644)
|
||
|
|
||
|
def upgrade_dependencies(self, context):
|
||
|
logger.debug(
|