diff Lib/distutils/command/install.py @ 49687:6f06571a8aef

#4283: fix left-over iteritems() in distutils.
author Georg Brandl <georg@python.org>
date Sat, 08 Nov 2008 15:15:57 +0000
parents 74b9c85361f8
children 4fd80e66b107
line wrap: on
line diff
--- a/Lib/distutils/command/install.py	Fri Nov 07 18:54:51 2008 +0000
+++ b/Lib/distutils/command/install.py	Sat Nov 08 15:15:57 2008 +0000
@@ -546,7 +546,7 @@
         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)