[Python-modules-commits] r25825 - in packages/shiboken/trunk/debian/patches (2 files)
odyx at users.alioth.debian.org
odyx at users.alioth.debian.org
Wed Sep 11 18:44:29 UTC 2013
Date: Wednesday, September 11, 2013 @ 18:44:28
Author: odyx
Revision: 25825
Add patch to fix one test's exceptions' Python3 syntax
Added:
packages/shiboken/trunk/debian/patches/fix_py3_expect.patch
Modified:
packages/shiboken/trunk/debian/patches/series
Added: packages/shiboken/trunk/debian/patches/fix_py3_expect.patch
===================================================================
--- packages/shiboken/trunk/debian/patches/fix_py3_expect.patch (rev 0)
+++ packages/shiboken/trunk/debian/patches/fix_py3_expect.patch 2013-09-11 18:44:28 UTC (rev 25825)
@@ -0,0 +1,15 @@
+Description: Fix the except syntax to be Python3-compatible, PEP-3110
+Origin: vendor
+Author: Didier Raboud <odyx at debian.org>
+Last-Update: 2013-09-10
+--- a/tests/minimalbinding/typedef_test.py
++++ b/tests/minimalbinding/typedef_test.py
+@@ -30,7 +30,7 @@
+
+ try:
+ import numpy as np
+-except ImportError, e:
++except ImportError as e:
+ np = None
+
+
Modified: packages/shiboken/trunk/debian/patches/series
===================================================================
--- packages/shiboken/trunk/debian/patches/series 2013-09-11 18:44:16 UTC (rev 25824)
+++ packages/shiboken/trunk/debian/patches/series 2013-09-11 18:44:28 UTC (rev 25825)
@@ -5,3 +5,4 @@
python3.3-nolong.patch
memleak-instead-crash.patch
static-override-fix.patch
+fix_py3_expect.patch
More information about the Python-modules-commits
mailing list