aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2006-01-26 12:11:32 +0000
committerDaniel Veillard <veillard@redhat.com>2006-01-26 12:11:32 +0000
commitb2764c3d9469cc0a3f4de006d237ebb54f42ded7 (patch)
tree7096acba1c3d0b8f16ee3826a5edfab08776b1a6 /python/generator.py
parentadd xshandle checks, fix virsh grammar (diff)
downloadlibvirt-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-xpython/generator.py2
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'):