From: Georg Brandl Date: Sat, 8 Nov 2008 15:15:57 +0000 (+0000) Subject: #4283: fix left-over iteritems() in distutils. X-Git-Tag: v3.0rc3~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da06606b6357b2614659b394ab286f317c38f0d1;p=thirdparty%2FPython%2Fcpython.git #4283: fix left-over iteritems() in distutils. --- diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 0a902cee89b6..b5c9554d6112 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 f8be398be69d..52f2bae61e32 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 -----