verify.sage: compatibility with Python3-based sage.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-04-25 18:13:20 +01:00
parent 5cbd39a77c
commit f1e73dab4f
1 changed files with 1 additions and 1 deletions

View File

@ -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()