diff options
author | Daniel Veillard <veillard@redhat.com> | 2007-03-16 10:44:44 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2007-03-16 10:44:44 +0000 |
commit | b86e229d69593235eb9c05af49f8034fa3d472ce (patch) | |
tree | 67e7a1d7c6cfa181d80e8c2a42cf930be87b57c0 /generator.py | |
parent | 6e0f43995baebd74a2789e2f68d2b70efd1d06b8 (diff) | |
download | libvirt-python-v6-b86e229d69593235eb9c05af49f8034fa3d472ce.tar.gz libvirt-python-v6-b86e229d69593235eb9c05af49f8034fa3d472ce.tar.xz libvirt-python-v6-b86e229d69593235eb9c05af49f8034fa3d472ce.zip |
* python/generator.py: patch from Tatsuro Enokura to fixv0.2.1LIBVIRT_0_2_1
virNetworkDefine binding
Daniel
Diffstat (limited to 'generator.py')
-rwxr-xr-x | generator.py | 7 |
1 files 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:] |