summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2009-04-01 10:37:57 +0000
committerDaniel P. Berrange <berrange@redhat.com>2009-04-01 10:37:57 +0000
commit00ee94b777b7706581eccd66b2f0ef71df2170ac (patch)
tree7d33c60b1f8dd5b9b8bbee890b2053c1468780fb
parentccd75e95aeffa9fda6f1df62b94bb65076907d98 (diff)
downloadlibvirt-python-split-00ee94b777b7706581eccd66b2f0ef71df2170ac.tar.gz
libvirt-python-split-00ee94b777b7706581eccd66b2f0ef71df2170ac.tar.xz
libvirt-python-split-00ee94b777b7706581eccd66b2f0ef71df2170ac.zip
Fix generation of networkCreateXML and storagePoolCreateXML
-rwxr-xr-xgenerator.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index dcad499..187c1e6 100755
--- a/generator.py
+++ b/generator.py
@@ -684,12 +684,18 @@ def nameFixup(name, classe, type, file):
elif name[0:16] == "virNetworkDefine":
func = name[3:]
func = string.lower(func[0:1]) + func[1:]
+ elif name[0:19] == "virNetworkCreateXML":
+ 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:]
elif name[0:20] == "virStoragePoolDefine":
func = name[3:]
func = string.lower(func[0:1]) + func[1:]
+ elif name[0:23] == "virStoragePoolCreateXML":
+ func = name[3:]
+ func = string.lower(func[0:1]) + func[1:]
elif name[0:20] == "virStoragePoolLookup":
func = name[3:]
func = string.lower(func[0:1]) + func[1:]