diff options
author | Rohde Fischer <rohdef@rohdef.dk> | 2011-11-25 21:03:16 +0400 |
---|---|---|
committer | Rohde Fischer <rohdef@rohdef.dk> | 2011-11-25 21:03:16 +0400 |
commit | ae589a43f7d65dd4ee0e3b409ed408c966d3fbc4 (patch) | |
tree | 7b4b4430de4eac1d7de1319a94943b07e88a8c09 | |
parent | b6e541c4f201619d0d51fd5a40c6e25cd5a52604 (diff) |
Fixed bug causing python exception:
for unknow reasons it says: "unexpeted keyword argument", even though the keyword is documented. Keyword argument though is redundant.
-rwxr-xr-x | extras/PyBinding/PyBinding/Resources/completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/PyBinding/PyBinding/Resources/completion.py b/extras/PyBinding/PyBinding/Resources/completion.py index 4ca99755a6..3faaffe84b 100755 --- a/extras/PyBinding/PyBinding/Resources/completion.py +++ b/extras/PyBinding/PyBinding/Resources/completion.py @@ -265,7 +265,7 @@ def parse(content, outStream): except ImportError: pass - visitor.tree.write(file = outStream) + visitor.tree.write(outStream) except SyntaxError, ex: lineno = hasattr(ex, 'lineno') and ex.lineno or 0 offset = hasattr(ex, 'offset') and ex.offset or 0 |