From: Humberto Ibarra Date: Thu, 9 Jun 2016 17:07:37 +0000 (-0500) Subject: scripts/lib/bsp/engine.py: Rename raw_input commands to input X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd20de9c3e70628612db1ebab36bf25fa5d80779;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 0c162ebdb3e..c44bbc51c91 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