mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
4374506981
* __raw_input()__ was removed in Python 3 in favor of __input()__ * Fix __sleep()__ to match the import on line 22 [flake8](http://flake8.pycqa.org) testing of https://github.com/node-red/node-red on Python 3.7.0 $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__ ``` ./nodes/core/hardware/nrgpio.py:45:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:63:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:85:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:120:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:134:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:164:24: F821 undefined name 'raw_input' data = raw_input() ^ ./nodes/core/hardware/nrgpio.py:201:17: F821 undefined name 'time' time.sleep(10) ^ 7 F821 undefined name 'raw_input' 7 ``` @dceejay |
||
---|---|---|
.. | ||
analysis | ||
core | ||
hardware | ||
io | ||
locales | ||
logic | ||
parsers | ||
storage |