[segyio] 147/376: Fixed a python 3.5 incompatibility
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 1cc8a606dc317b1cb6c472c9a7d89b6ecb9d9ec0
Author: Jean-Paul Balabanian <jepebe at users.noreply.github.com>
Date: Mon Dec 5 15:31:28 2016 +0100
Fixed a python 3.5 incompatibility
---
tests/test_context.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_context.py b/tests/test_context.py
index 0b4dc0b..acffd84 100644
--- a/tests/test_context.py
+++ b/tests/test_context.py
@@ -33,7 +33,7 @@ class TestContext(object):
target = os.path.join(self._temp_path, target, source_filename)
try:
os.makedirs(os.path.dirname(target))
- except OSError, e:
+ except OSError as e:
if e.errno != errno.EEXIST:
raise
shutil.copyfile(source, target)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list