Merge pull request #5182 from basepi/virtrunner5120

Use .next() instead of dummy loop, Fix #5120
This commit is contained in:
Thomas S Hatch 2013-05-21 22:21:44 -07:00
commit fc105cbe55

View File

@ -132,7 +132,7 @@ def init(name, cpu, mem, image, hyper=None, seed=True, nic='default'):
],
timeout=600)
for info in cmd_ret:
cmd_ret.next()
print('VM {0} initialized on hypervisor {1}'.format(name, hyper))
return 'good'