提交 21ecec28 authored 作者: Joseph Turian's avatar Joseph Turian

removed extra paren

上级 35a56587
...@@ -69,7 +69,7 @@ def numpy_wrapper(f): ...@@ -69,7 +69,7 @@ def numpy_wrapper(f):
for thunk in thunks: for thunk in thunks:
for output in thunk.outputs: for output in thunk.outputs:
if hasattr(output, 'dtype'): if hasattr(output, 'dtype'):
if f(output)): if f(output):
raise Exception('uh oh', (thunk, output)) raise Exception('uh oh', (thunk, output))
return wrapper return wrapper
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论