]> granicus.if.org Git - python/commitdiff
#4283: fix left-over iteritems() in distutils.
authorGeorg Brandl <georg@python.org>
Sat, 8 Nov 2008 15:15:57 +0000 (15:15 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 8 Nov 2008 15:15:57 +0000 (15:15 +0000)
Lib/distutils/command/install.py
Misc/NEWS

index 0a902cee89b65d44c778acd1e5530d8108f87738..b5c9554d6112a5f8f3f5696e3d51e3909a2a4e0f 100644 (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)
index f8be398be69de48c09346416f5f3b6d89e049d00..52f2bae61e32922ea94f54ead09a854d18f5efbe 100644 (file)
--- 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
 -----