Skip to content

Commit

Permalink
Tools: Comparison to False should be cond is False or if not cond:
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Aug 31, 2023
1 parent e0c9e9a commit 2a78c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/ardupilotwaf/build_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _parse_size_output(s, s_all, totals=False):
lines = s.splitlines()[1:]
l = []
for line in lines:
if pattern.match(line) or totals==False:
if pattern.match(line) or totals is False:
row = line.strip().split()

# check if crash_log wasn't found
Expand Down

0 comments on commit 2a78c9f

Please sign in to comment.