#4283: fix left-over iteritems() in distutils.
This commit is contained in:
parent
bfda544767
commit
da06606b63
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue