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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]