提交 16f64088 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix crash, we need to return the checkpoint

上级 5551aab0
...@@ -325,6 +325,8 @@ class ReplaceValidate(History, Validator): ...@@ -325,6 +325,8 @@ class ReplaceValidate(History, Validator):
raise raise
if verbose: if verbose:
print(reason, r, new_r) print(reason, r, new_r)
# The return is needed by replace_all_validate_remove
return chk
def replace_all_validate_remove(self, fgraph, replacements, def replace_all_validate_remove(self, fgraph, replacements,
remove, reason=None, warn=True): remove, reason=None, warn=True):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论