From f1e73dab4f199c6b627c321b872357a40d54dcc4 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sat, 25 Apr 2020 18:13:20 +0100 Subject: [PATCH] verify.sage: compatibility with Python3-based sage. Signed-off-by: Daira Hopwood --- verify.sage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verify.sage b/verify.sage index 03faf19..7309d2a 100644 --- a/verify.sage +++ b/verify.sage @@ -53,7 +53,7 @@ def verify(): try: s = set(map(Integer, readfile('primes').split())) - except IOError, e: + except IOError as e: if e.errno != ENOENT: raise s = set()