mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
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:
committed by
Xiang Xiao
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")
|
||||
|
||||
Reference in New Issue
Block a user