Commit f5f5810b authored by Georg Brandl's avatar Georg Brandl

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

parent f4beb1d3
......@@ -546,7 +546,7 @@ class install (Command):
if not self.user:
return
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):
self.debug_print("os.makedirs('%s', 0o700)" % path)
os.makedirs(path, 0o700)
......
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