* python/generator.py: patch from Tatsuro Enokura to fix

virNetworkDefine binding
Daniel
This commit is contained in:
Daniel Veillard 2007-03-16 10:44:44 +00:00
parent d59c9d2fa8
commit ccee35cbb0
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 16 11:43:08 CET 2007 Daniel Veillard <veillard@redhat.com>
* python/generator.py: patch from Tatsuro Enokura to fix
virNetworkDefine binding
Thu Mar 15 14:57:20 EST 2007 Daniel P Berrange <berrange@redhat.com>
* src/xen_internal.c: Fixed off by one error in extracting

View File

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