[libvirt] [PATCH 2/4] python: fix typoes and repeated global vars references

Guannan Ren gren at redhat.com
Thu Feb 28 10:03:44 UTC 2013


---
 python/generator.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/python/generator.py b/python/generator.py
index 246767c..39e654b 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -781,11 +781,11 @@ def buildStubs(module, stubs_buiding_debug = False, xml_parsing_debug = False):
     elif module == "libvirt-lxc":
         funcs = lxc_functions
         funcs_failed = lxc_functions_failed
-        funcs_skipped = functions_skipped
+        funcs_skipped = lxc_functions_skipped
     elif module == "libvirt-qemu":
         funcs = qemu_functions
         funcs_failed = qemu_functions_failed
-        funcs_skipped = functions_skipped
+        funcs_skipped = qemu_functions_skipped
 
     api_xml = "%s-api.xml" % module
 
@@ -1205,12 +1205,9 @@ def buildWrappers(module):
     global function_classes
     global classes_type
     global classes_list
-    global converter_type
     global primary_classes
-    global converter_type
     global classes_ancestor
     global converter_type
-    global primary_classes
     global classes_destructors
     global functions_noexcept
 
-- 
1.7.11.2




More information about the libvir-list mailing list