summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-11-08 15:15:57 (GMT)
committerGeorg Brandl <georg@python.org>2008-11-08 15:15:57 (GMT)
commitda06606b6357b2614659b394ab286f317c38f0d1 (patch)
treea1eaaa0ffc58b1fd8f64a43f606c3370a12f8d1f
parentbfda54476718bea8313d00ddb223cbecffefe5ca (diff)
downloadcpython-da06606b6357b2614659b394ab286f317c38f0d1.zip
cpython-da06606b6357b2614659b394ab286f317c38f0d1.tar.gz
cpython-da06606b6357b2614659b394ab286f317c38f0d1.tar.bz2
#4283: fix left-over iteritems() in distutils.
-rw-r--r--Lib/distutils/command/install.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 0a902ce..b5c9554 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -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)
diff --git a/Misc/NEWS b/Misc/NEWS
index f8be398..52f2bae 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -16,6 +16,8 @@ Core and Builtins
Library
-------
+- Issue #4283: fix a left-over "iteritems" call in distutils.
+
Build
-----