From eca31dd63cf7b916a6d5b9b6af4a2de9dd2eda2e Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 5 Jul 2010 21:24:08 +0000 Subject: [Python binding] do not throw lasso.Error for python exceptions --- bindings/python/lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/python') diff --git a/bindings/python/lang.py b/bindings/python/lang.py index df7ba2e5..ab987266 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 Error(\'failed to create object\')' + print >> fd, ' raise Exception(\'failed to create object\')' print >> fd, '' for m in self.binding_data.functions: -- cgit