mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
scripts: python3: rename raw_input to input
Renamed raw_input to input as raw_input does not exist in python 3. (From OE-Core rev: 32765150b860ecdea74b4494b9531f5bc40252bb) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
90e7feeb64
commit
793b83a3c6
@@ -67,7 +67,7 @@ try:
|
||||
i = i[4096:]
|
||||
if sys.stdin in ready:
|
||||
echonocbreak(sys.stdin.fileno())
|
||||
o = raw_input()
|
||||
o = input()
|
||||
cbreaknoecho(sys.stdin.fileno())
|
||||
pty.write(o + "\n")
|
||||
except (IOError, OSError) as e:
|
||||
|
||||
Reference in New Issue
Block a user