[pytango] 01/01: Fix syntax error in python 3

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Sun Feb 21 13:07:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

picca pushed a commit to branch master
in repository pytango.

commit e2b2cd64cb059f021bf3d6a86c13d2cefcc3ed2e
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sun Feb 21 14:05:58 2016 +0100

    Fix syntax error in python 3
---
 debian/changelog                                    |  7 +++++++
 .../patches/0001-Fix-syntax-error-in-python-3.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4f8e858..ad57059 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pytango (8.1.8-2) unstable; urgency=medium
+
+  * debian/patches
+    - 0001-Fix-syntax-error-in-python-3.patch (Closes: #814824)
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Sun, 21 Feb 2016 14:03:38 +0100
+
 pytango (8.1.8-1) unstable; urgency=medium
 
   * Imported Upstream version 8.1.8
diff --git a/debian/patches/0001-Fix-syntax-error-in-python-3.patch b/debian/patches/0001-Fix-syntax-error-in-python-3.patch
new file mode 100644
index 0000000..7db3fa6
--- /dev/null
+++ b/debian/patches/0001-Fix-syntax-error-in-python-3.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at debian.org>
+Date: Sun, 21 Feb 2016 14:01:25 +0100
+Subject: 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
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..586daea
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-syntax-error-in-python-3.patch

-- 
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