From 3a01f7b3b45de13314de8ec20d9953f2e3809a37 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 24 Aug 2015 12:52:09 +0200 Subject: [PATCH] [BUILD] Python3 doesn't have dict.iter_items - it's replaced by dict.items() --- dev-tools/prepare_release_candidate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/prepare_release_candidate.py b/dev-tools/prepare_release_candidate.py index b6909cba178..baaac881474 100644 --- a/dev-tools/prepare_release_candidate.py +++ b/dev-tools/prepare_release_candidate.py @@ -86,7 +86,7 @@ enabled=1 def run(command, env_vars=None): if env_vars: - for key, value in env_vars.iter_items(): + for key, value in env_vars.items(): os.putenv(key, value) if os.system('%s' % (command)): raise RuntimeError(' FAILED: %s' % (command))