summaryrefslogtreecommitdiffstats
path: root/Lib
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 /Lib
parentbfda54476718bea8313d00ddb223cbecffefe5ca (diff)
downloadcpython-da06606b6357b2614659b394ab286f317c38f0d1.zip
cpython-da06606b6357b2614659b394ab286f317c38f0d1.tar.gz
cpython-da06606b6357b2614659b394ab286f317c38f0d1.tar.bz2
#4283: fix left-over iteritems() in distutils.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install.py2
1 files changed, 1 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)