mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#4283: fix left-over iteritems() in distutils.
This commit is contained in:
parent
bfda544767
commit
da06606b63
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue