From dd20de9c3e70628612db1ebab36bf25fa5d80779 Mon Sep 17 00:00:00 2001 From: Humberto Ibarra Date: Thu, 9 Jun 2016 12:07:37 -0500 Subject: scripts/lib/bsp/engine.py: Rename raw_input commands to input According to https://docs.python.org/3/whatsnew/3.0.html python3 renamed 'raw_input' to 'input'. Making the appropiate changes for this. [YOCTO #9723] (From meta-yocto rev: 76efeeeac7fb30b44ee7057b3b3d1fd84329dae1) Signed-off-by: Humberto Ibarra Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/lib/bsp/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 0c162ebdb3..c44bbc51c9 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py @@ -200,7 +200,7 @@ class EditBoxInputLine(InputLine): msg += " [default: " + default_choice + "]" - line = name + " = default(raw_input(\"" + msg + " \"), " + name + ")" + line = name + " = default(input(\"" + msg + " \"), " + name + ")" return line @@ -313,7 +313,7 @@ class BooleanInputLine(InputLine): msg += " [default: " + default_choice + "]" - line = name + " = boolean(raw_input(\"" + msg + " \"), " + name + ")" + line = name + " = boolean(input(\"" + msg + " \"), " + name + ")" return line -- cgit v1.2.3-54-g00ecf