[BUILD] Python3 doesn't have dict.iter_items - it's replaced by dict.items()

This commit is contained in:
Simon Willnauer 2015-08-24 12:52:09 +02:00
parent cb68a2196d
commit 3a01f7b3b4
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ enabled=1
def run(command, env_vars=None): def run(command, env_vars=None):
if env_vars: if env_vars:
for key, value in env_vars.iter_items(): for key, value in env_vars.items():
os.putenv(key, value) os.putenv(key, value)
if os.system('%s' % (command)): if os.system('%s' % (command)):
raise RuntimeError(' FAILED: %s' % (command)) raise RuntimeError(' FAILED: %s' % (command))