mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 07:55:06 +03:00
* python/generator.py: patch from Tatsuro Enokura to fix
virNetworkDefine binding Daniel
This commit is contained in:
parent
6e0f43995b
commit
b86e229d69
@ -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:]
|
||||
|
Loading…
Reference in New Issue
Block a user