mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-12 17:49:25 +03:00
* python/generator.py: patch from Tatsuro Enokura to fix
virNetworkDefine binding Daniel
This commit is contained in:
@ -583,6 +583,9 @@ def nameFixup(name, classe, type, file):
|
|||||||
if name[0:l] == listname:
|
if name[0:l] == listname:
|
||||||
func = name[l:]
|
func = name[l:]
|
||||||
func = string.lower(func[0:1]) + func[1:]
|
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":
|
elif name[0:16] == "virNetworkLookup":
|
||||||
func = name[3:]
|
func = name[3:]
|
||||||
func = string.lower(func[0:1]) + func[1:]
|
func = string.lower(func[0:1]) + func[1:]
|
||||||
|
Reference in New Issue
Block a user