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