mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #5196 from basepi/virtrunner5120
Improve python3 compatibility with next() built-in
This commit is contained in:
commit
5503862068
@ -132,7 +132,7 @@ def init(name, cpu, mem, image, hyper=None, seed=True, nic='default'):
|
||||
],
|
||||
timeout=600)
|
||||
|
||||
cmd_ret.next()
|
||||
next(cmd_ret)
|
||||
print('VM {0} initialized on hypervisor {1}'.format(name, hyper))
|
||||
|
||||
return 'good'
|
||||
|
Loading…
Reference in New Issue
Block a user