提交 ba45997f authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #2367 from abergeron/fix_scan_error

Fix scan handling of error when on CVM.
...@@ -989,8 +989,8 @@ class Scan(PureOp): ...@@ -989,8 +989,8 @@ class Scan(PureOp):
# done by raise_with_op is not implemented in C. # done by raise_with_op is not implemented in C.
if hasattr(self.fn, 'thunks'): if hasattr(self.fn, 'thunks'):
# For the CVM # For the CVM
gof.vm.raise_with_op(self.fn.nodes[self.fn.position_of_error], gof.link.raise_with_op(self.fn.nodes[self.fn.position_of_error],
self.fn.thunks[self.fn.position_of_error]) self.fn.thunks[self.fn.position_of_error])
else: else:
# For the c linker # For the c linker
# We don't have access from python to all the temps values # We don't have access from python to all the temps values
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论