]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* python/generator.py: patch from Tatsuro Enokura to fix
authorDaniel Veillard <veillard@redhat.com>
Fri, 16 Mar 2007 10:44:44 +0000 (10:44 +0000)
committerDaniel Veillard <veillard@redhat.com>
Fri, 16 Mar 2007 10:44:44 +0000 (10:44 +0000)
  virNetworkDefine binding
Daniel

ChangeLog
python/generator.py

index bf4b8fec09118bb9a673783b9bb616a5c210fb85..7d3eb7500c9e7094775439f08ff8c67c524544b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>
+
+       * python/generator.py: patch from Tatsuro Enokura to fix 
+         virNetworkDefine binding
+
 Thu Mar 15 14:57:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
 
        * src/xen_internal.c: Fixed off by one error in extracting
index 20487653505297ce132b93e9a9532e1e58b5aed9..e058b1c90e2f7565e2a106b208398d08213dbd43 100755 (executable)
@@ -583,9 +583,12 @@ def nameFixup(name, classe, type, file):
     if name[0:l] == listname:
         func = name[l:]
         func = string.lower(func[0:1]) + func[1:]
+    elif name[0:16] == "virNetworkDefine":
+        func = name[3:]
+        func = string.lower(func[0:1]) + func[1:]
     elif name[0:16] == "virNetworkLookup":
-       func = name[3:]
-       func = string.lower(func[0:1]) + func[1:]
+        func = name[3:]
+        func = string.lower(func[0:1]) + func[1:]
     elif name[0:12] == "virDomainGet":
         func = name[12:]
         func = string.lower(func[0:1]) + func[1:]