summaryrefslogtreecommitdiffstats
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
commit84d41f587752e3b6f55524cd34b81a1c7124903f (patch)
tree972e8c69beb91ae313c4af18140f9543172b5591
parent30f666b9f47f36348e0cbb6a3bca011d9cd0bc76 (diff)
downloadlibvirt-python-split-84d41f587752e3b6f55524cd34b81a1c7124903f.tar.gz
libvirt-python-split-84d41f587752e3b6f55524cd34b81a1c7124903f.tar.xz
libvirt-python-split-84d41f587752e3b6f55524cd34b81a1c7124903f.zip
* TODO: updated
* docs/search.php: use the new web site design * python/generator.py: fix a generation bug on python keyword Daniel
-rwxr-xr-xgenerator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator.py b/generator.py
index 59b4267..b489b56 100755
--- a/generator.py
+++ b/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'):