mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #5182 from basepi/virtrunner5120
Use .next() instead of dummy loop, Fix #5120
This commit is contained in:
commit
fc105cbe55
@ -132,8 +132,8 @@ def init(name, cpu, mem, image, hyper=None, seed=True, nic='default'):
|
||||
],
|
||||
timeout=600)
|
||||
|
||||
for info in cmd_ret:
|
||||
print('VM {0} initialized on hypervisor {1}'.format(name, hyper))
|
||||
cmd_ret.next()
|
||||
print('VM {0} initialized on hypervisor {1}'.format(name, hyper))
|
||||
|
||||
return 'good'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user