summaryrefslogtreecommitdiffstats
path: root/scripts/oepydevshell-internal.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:29 +0100
commit793b83a3c6b5853d220214642191b11e4bba9f68 (patch)
treeea7f57b2eb7f5a1be3d1a2165d6b78c94af8d1d9 /scripts/oepydevshell-internal.py
parent90e7feeb6485fe695ae26e03b10c23c8296607e9 (diff)
downloadpoky-793b83a3c6b5853d220214642191b11e4bba9f68.tar.gz
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>
Diffstat (limited to 'scripts/oepydevshell-internal.py')
-rwxr-xr-xscripts/oepydevshell-internal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oepydevshell-internal.py b/scripts/oepydevshell-internal.py
index f7b2e4e0bf..2566606b50 100755
--- a/scripts/oepydevshell-internal.py
+++ b/scripts/oepydevshell-internal.py
@@ -67,7 +67,7 @@ try:
67 i = i[4096:] 67 i = i[4096:]
68 if sys.stdin in ready: 68 if sys.stdin in ready:
69 echonocbreak(sys.stdin.fileno()) 69 echonocbreak(sys.stdin.fileno())
70 o = raw_input() 70 o = input()
71 cbreaknoecho(sys.stdin.fileno()) 71 cbreaknoecho(sys.stdin.fileno())
72 pty.write(o + "\n") 72 pty.write(o + "\n")
73 except (IOError, OSError) as e: 73 except (IOError, OSError) as e: