[PATCH 4/5] python: make auto-generated function name nicer

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

 



---
 python/generator.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/python/generator.py b/python/generator.py
index 8c380bb..dce64ce 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -1076,6 +1076,9 @@ def nameFixup(name, classe, type, file):
     elif name[0:12] == "virDomainGet":
         func = name[12:]
         func = string.lower(func[0:1]) + func[1:]
+    elif name[0:29] == "virDomainSnapshotDeleteByName":
+        func = name[9:]
+        func = string.lower(func[0:1]) + func[1:]
     elif name[0:29] == "virDomainSnapshotLookupByName":
         func = name[9:]
         func = string.lower(func[0:1]) + func[1:]
-- 
1.8.1.4

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