1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-02 04:21:59 +03:00

* 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 6e0f43995b
commit b86e229d69

View File

@ -583,6 +583,9 @@ 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:]