Merge pull request #5196 from basepi/virtrunner5120

Improve python3 compatibility with next() built-in
This commit is contained in:
Joseph Hall 2013-05-22 10:29:33 -07:00
commit 5503862068

View File

@ -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'