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

This commit is contained in:
Georg Brandl 2008-11-08 15:15:57 +00:00
parent bfda544767
commit da06606b63
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -16,6 +16,8 @@ Core and Builtins
Library
-------
- Issue #4283: fix a left-over "iteritems" call in distutils.
Build
-----