mirror of https://github.com/ArduPilot/ardupilot
Tools: Comparison to `False` should be `cond is False` or `if not cond:`
This commit is contained in:
parent
9f4dbb2727
commit
279adeb1b4
|
@ -190,7 +190,7 @@ def _parse_size_output(s, s_all, totals=False):
|
||||||
lines = s.splitlines()[1:]
|
lines = s.splitlines()[1:]
|
||||||
l = []
|
l = []
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if pattern.match(line) or totals==False:
|
if pattern.match(line) or totals is False:
|
||||||
row = line.strip().split()
|
row = line.strip().split()
|
||||||
|
|
||||||
# check if crash_log wasn't found
|
# check if crash_log wasn't found
|
||||||
|
|
Loading…
Reference in New Issue