From fd851ff228922501b474ce024839e012b2b0c84d Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Wed, 18 Sep 2024 14:50:15 -0700 Subject: [PATCH] topdown-csv: More fixes for flake8 for python2 --- topdown-csv/topdown-csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topdown-csv/topdown-csv.py b/topdown-csv/topdown-csv.py index 140ab0de..505a4117 100755 --- a/topdown-csv/topdown-csv.py +++ b/topdown-csv/topdown-csv.py @@ -1171,7 +1171,7 @@ def gen_aux_guard(r, r2=None): print() for r in groups + info: if r.issue: - match = ['o["%s"]' % o.name for o in groups if r.issue and o.issue and r.issue & o.issue and o.name != r.name] + match = ['o["%s"]' % ox.name for ox in groups if r.issue and ox.issue and r.issue & ox.issue and ox.name != r.name] if len(match) > 0: gen_aux_guard(r) print(T(""" o["$rname"].sibling = $match""").substitute(rname=r.name, match="(" + ", ".join(match) + ",)"))