summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>2016-06-09 12:07:37 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:47:19 +0100
commitdd20de9c3e70628612db1ebab36bf25fa5d80779 (patch)
treeef7d4c95b11583aafc2e2562ab7a098438beed3a /scripts
parent0aa5c2759901c6e1976eb34ce1d83a584a90f5a6 (diff)
downloadpoky-dd20de9c3e70628612db1ebab36bf25fa5d80779.tar.gz
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 <humberto.ibarra.lopez@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/bsp/engine.py4
1 files changed, 2 insertions, 2 deletions
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):
200 200
201 msg += " [default: " + default_choice + "]" 201 msg += " [default: " + default_choice + "]"
202 202
203 line = name + " = default(raw_input(\"" + msg + " \"), " + name + ")" 203 line = name + " = default(input(\"" + msg + " \"), " + name + ")"
204 204
205 return line 205 return line
206 206
@@ -313,7 +313,7 @@ class BooleanInputLine(InputLine):
313 313
314 msg += " [default: " + default_choice + "]" 314 msg += " [default: " + default_choice + "]"
315 315
316 line = name + " = boolean(raw_input(\"" + msg + " \"), " + name + ")" 316 line = name + " = boolean(input(\"" + msg + " \"), " + name + ")"
317 317
318 return line 318 return line
319 319