[Python-3000-checkins] r67160 - in python/branches/py3k: Lib/distutils/command/install.py Misc/NEWS

georg.brandl python-3000-checkins at python.org
Sat Nov 8 16:15:58 CET 2008


Author: georg.brandl
Date: Sat Nov  8 16:15:57 2008
New Revision: 67160

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


Modified:
   python/branches/py3k/Lib/distutils/command/install.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/distutils/command/install.py
==============================================================================
--- python/branches/py3k/Lib/distutils/command/install.py	(original)
+++ python/branches/py3k/Lib/distutils/command/install.py	Sat Nov  8 16:15:57 2008
@@ -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)

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sat Nov  8 16:15:57 2008
@@ -16,6 +16,8 @@
 Library
 -------
 
+- Issue #4283: fix a left-over "iteritems" call in distutils.
+
 Build
 -----
 


More information about the Python-3000-checkins mailing list