[Python-modules-commits] [shiboken] 06/13: Fix the except syntax to be Python3-compatible, PEP-3110
Raphaël Hertzog
hertzog at moszumanska.debian.org
Thu Aug 17 18:09:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
hertzog pushed a commit to branch master
in repository shiboken.
commit 8f6a15aaf29c38a70d345deb6a4c42484f9e31f7
Author: Didier Raboud <odyx at debian.org>
Date: Thu Oct 8 13:47:17 2015 -0700
Fix the except syntax to be Python3-compatible, PEP-3110
Origin: vendor
Last-Update: 2013-09-10
---
tests/minimalbinding/typedef_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/minimalbinding/typedef_test.py b/tests/minimalbinding/typedef_test.py
index 089b279..abba5e0 100644
--- a/tests/minimalbinding/typedef_test.py
+++ b/tests/minimalbinding/typedef_test.py
@@ -30,7 +30,7 @@ from py3kcompat import IS_PY3K
try:
import numpy as np
-except ImportError, e:
+except ImportError as e:
np = None
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/shiboken.git
More information about the Python-modules-commits
mailing list