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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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:



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux