提交 ffcdf4d7 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

catch the right exception

上级 f3b19ac8
......@@ -1349,7 +1349,7 @@ def scan_merge_inouts(node):
try:
vsh = int(opt.get_constant_value(sh))
vssh = int(opt.get_constant_value(ssh))
except:
except TypeError:
return o
if vsh == vssh:
return so
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论