[pytango] 02/37: Fix syntax error in python 3
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:16:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to annotated tag v9.2.0b
in repository pytango.
commit f7b3dd08169495803144ee02b6809375b2828543
Author: Tiago Coutinho <coutinhotiago at gmail.com>
Date: Fri Feb 19 14:32:34 2016 +0100
Fix syntax error in python 3
---
src/boost/python/tango_gevent.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boost/python/tango_gevent.py b/src/boost/python/tango_gevent.py
index 8c04e96..b10ff66 100644
--- a/src/boost/python/tango_gevent.py
+++ b/src/boost/python/tango_gevent.py
@@ -53,7 +53,7 @@ def get_with_exception(g, block=True, timeout=None):
result = g._get(block, timeout)
if isinstance(result, ExceptionWrapper):
# raise the exception using the caller context
- raise result.error_string, None, result.tb
+ raise result.error_string(None, result.tb)
else:
return result
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list