[BUILD] Python3 doesn't have dict.iter_items - it's replaced by dict.items()
This commit is contained in:
parent
cb68a2196d
commit
3a01f7b3b4
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue