From da06606b6357b2614659b394ab286f317c38f0d1 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 8 Nov 2008 15:15:57 +0000 Subject: #4283: fix left-over iteritems() in distutils. --- Lib/distutils/command/install.py | 2 +- Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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) diff --git a/Misc/NEWS b/Misc/NEWS index f8be398..52f2bae 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 ----- -- cgit v0.12