From b86e229d69593235eb9c05af49f8034fa3d472ce Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 16 Mar 2007 10:44:44 +0000 Subject: * python/generator.py: patch from Tatsuro Enokura to fix virNetworkDefine binding Daniel --- generator.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/generator.py b/generator.py index 2048765..e058b1c 100755 --- a/generator.py +++ b/generator.py @@ -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:] -- cgit