mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
fixed problem with Python 2.5
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
cec851440e
commit
c3a0a29c4f
|
@ -660,8 +660,7 @@ def def_APIs():
|
|||
m = pat2.match(line)
|
||||
if m:
|
||||
eval(line)
|
||||
except Exception as ex:
|
||||
print ex
|
||||
except Exception:
|
||||
raise MKException("Failed to process API definition: %s" % line)
|
||||
def_Types()
|
||||
def_APIs()
|
||||
|
|
Loading…
Reference in a new issue