Skip to content

Commit

Permalink
topdown-csv: More fixes for flake8 for python2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Sep 18, 2024
1 parent e6e67fe commit fd851ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topdown-csv/topdown-csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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) + ",)"))
Expand Down

0 comments on commit fd851ff

Please sign in to comment.