mirror of https://github.com/zcash/pasta.git
verify.sage: compatibility with Python3-based sage.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
5cbd39a77c
commit
f1e73dab4f
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue