提交 41607d78 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Flake 8 in buildbot?

上级 1ec5b4df
...@@ -926,7 +926,7 @@ class PushOutScanOutput(gof.Optimizer): ...@@ -926,7 +926,7 @@ class PushOutScanOutput(gof.Optimizer):
# For the inner_vars that don't already exist in the outer graph, add # For the inner_vars that don't already exist in the outer graph, add
# them as new nitsot outputs to the scan node. # them as new nitsot outputs to the scan node.
idx_add_as_nitsots = [i for i in range(len(outer_vars)) idx_add_as_nitsots = [i for i in range(len(outer_vars))
if outer_vars[i] == None] if outer_vars[i] is None]
add_as_nitsots = [inner_vars[idx] for idx in idx_add_as_nitsots] add_as_nitsots = [inner_vars[idx] for idx in idx_add_as_nitsots]
if len(add_as_nitsots) > 0: if len(add_as_nitsots) > 0:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论