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

[libvirt] [PATCH v2 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 da642eb..91f17de 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -1078,6 +1078,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]