summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/lang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py
index 8be92e39..67c0cf91 100644
--- a/bindings/python/lang.py
+++ b/bindings/python/lang.py
@@ -335,7 +335,7 @@ if WSF_SUPPORT:
print >> fd, ' self._cptr = _lasso.%s(%s)' % (
m.name[6:], c_args)
print >> fd, ' if self._cptr is None:'
- print >> fd, ' raise Exception(\'failed to create object\')'
+ print >> fd, ' raise Error(\'failed to create object\')'
print >> fd, ''
for m in self.binding_data.functions: