Commit da06606b authored by Georg Brandl's avatar Georg Brandl

#4283: fix left-over iteritems() in distutils.

parent bfda5447
...@@ -546,7 +546,7 @@ class install (Command): ...@@ -546,7 +546,7 @@ class install (Command):
if not self.user: if not self.user:
return return
home = convert_path(os.path.expanduser("~")) home = convert_path(os.path.expanduser("~"))
for name, path in self.config_vars.iteritems(): for name, path in self.config_vars.items():
if path.startswith(home) and not os.path.isdir(path): if path.startswith(home) and not os.path.isdir(path):
self.debug_print("os.makedirs('%s', 0o700)" % path) self.debug_print("os.makedirs('%s', 0o700)" % path)
os.makedirs(path, 0o700) os.makedirs(path, 0o700)
......
...@@ -16,6 +16,8 @@ Core and Builtins ...@@ -16,6 +16,8 @@ Core and Builtins
Library Library
------- -------
- Issue #4283: fix a left-over "iteritems" call in distutils.
Build Build
----- -----
......
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