From 5483fa294f164cb613f95e9a254353846962120a Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Thu, 2 Jun 2016 13:12:49 +0300 Subject: scripts: python3: rename raw_input to input Renamed raw_input to input as raw_input does not exist in python 3. (From meta-yocto rev: c9df9f2699885f2ba5b031c8761aefbf3c796067) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/bsp/kernel.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/lib/bsp/kernel.py') diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py index 5bfa663809..3c4b79854d 100644 --- a/scripts/lib/bsp/kernel.py +++ b/scripts/lib/bsp/kernel.py @@ -202,8 +202,8 @@ def yocto_kernel_config_rm(scripts_path, machine): config_items = read_config_items(scripts_path, machine) print("Specify the kernel config items to remove:") - input = raw_input(gen_choices_str(config_items)) - rm_choices = input.split() + inp = input(gen_choices_str(config_items)) + rm_choices = inp.split() rm_choices.sort() removed = [] @@ -359,8 +359,8 @@ def yocto_kernel_patch_rm(scripts_path, machine): patches = read_patch_items(scripts_path, machine) print("Specify the patches to remove:") - input = raw_input(gen_choices_str(patches)) - rm_choices = input.split() + inp = input(gen_choices_str(patches)) + rm_choices = inp.split() rm_choices.sort() removed = [] @@ -610,8 +610,8 @@ def yocto_kernel_feature_rm(scripts_path, machine): features = read_features(scripts_path, machine) print("Specify the features to remove:") - input = raw_input(gen_choices_str(features)) - rm_choices = input.split() + inp = input(gen_choices_str(features)) + rm_choices = inp.split() rm_choices.sort() removed = [] -- cgit v1.2.3-54-g00ecf