diff options
author | Daniel Veillard <veillard@redhat.com> | 2006-01-26 12:11:32 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2006-01-26 12:11:32 +0000 |
commit | b2764c3d9469cc0a3f4de006d237ebb54f42ded7 (patch) | |
tree | 7096acba1c3d0b8f16ee3826a5edfab08776b1a6 /python/generator.py | |
parent | add xshandle checks, fix virsh grammar (diff) | |
download | libvirt-b2764c3d9469cc0a3f4de006d237ebb54f42ded7.tar.gz libvirt-b2764c3d9469cc0a3f4de006d237ebb54f42ded7.tar.bz2 libvirt-b2764c3d9469cc0a3f4de006d237ebb54f42ded7.zip |
* TODO: updated
* docs/search.php: use the new web site design
* python/generator.py: fix a generation bug on python keyword
Daniel
Diffstat (limited to 'python/generator.py')
-rwxr-xr-x | python/generator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/generator.py b/python/generator.py index 59b42678e..b489b568d 100755 --- a/python/generator.py +++ b/python/generator.py @@ -134,6 +134,8 @@ class docParser: self.function_arg_info = None if attrs.has_key('name'): self.function_arg_name = attrs['name'] + if self.function_arg_name == 'from': + self.function_arg_name = 'frm' if attrs.has_key('type'): self.function_arg_type = attrs['type'] if attrs.has_key('info'): |