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

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



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


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