Undefined name: true --> True
% `flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics` ``` ./incubator-nuttx/tools/flash_writer.py:360:46: F821 undefined name 'true' print("#", end="", flush=true) ^ 1 F821 undefined name 'true' 1 ```
This commit is contained in:
parent
3c939c42fb
commit
55026e87af
|
@ -357,7 +357,7 @@ class TelnetDev:
|
|||
if MAX_DOT_COUNT < cur_count:
|
||||
cur_count = MAX_DOT_COUNT
|
||||
for idx in range(cur_count - self.count):
|
||||
print("#", end="", flush=true)
|
||||
print("#", end="", flush=True)
|
||||
self.count = cur_count
|
||||
if self.count == MAX_DOT_COUNT:
|
||||
print("\n")
|
||||
|
|
Loading…
Reference in New Issue