[et-mgmt-tools] [PATCH] to break out of the infinite loop

Saori Fukuta fukuta.saori at jp.fujitsu.com
Wed Feb 21 03:09:02 UTC 2007


Hi,

There's a trivial bug in the latest virtinst/Guest.py.
This patch adds a increment to fix this problem.

Signed-off-by: Saori Fukuta <fukuta.saori at jp.fujitsu.com>

Thanks,
Saori Fukuta.

Index: virtinst/Guest.py (python-virtinst-0.100.0)
===================================================================
--- Guest.py    2007-02-19 16:09:28.000000000 +0900
+++ Guest.py.new        2007-02-19 16:11:11.000000000 +0900
@@ -392,6 +392,7 @@ class Guest(object):
                 break
             except libvirt.libvirtError:
                 pass
+            num += 1
             time.sleep(0.25)

         if d is None:





More information about the et-mgmt-tools mailing list