1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes/core
cclauss 4374506981
Define raw_input() in Python 3 & fix time.sleep()
* __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
2018-08-15 16:25:58 +02:00
..
analysis move i18n info text of core nodes under nodes/core/locales directory 2018-03-03 10:39:11 +09:00
core Fix template node handling of nested context tags 2018-08-14 16:21:38 +01:00
hardware Define raw_input() in Python 3 & fix time.sleep() 2018-08-15 16:25:58 +02:00
io Merge branch 'master' into 0.19 2018-07-18 13:22:35 +01:00
locales Update Japanease text of mqtt node 2018-07-23 10:11:10 +09:00
logic Fix error reporting of invalid jsonata in Join/reduce 2018-07-27 22:05:42 +01:00
parsers JSON node: Add link to JSON schema spec in node help 2018-07-10 11:29:01 -04:00
storage update info text of file node (English & Japanese) 2018-07-20 14:59:52 +09:00