summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/engine.py')
-rw-r--r--scripts/lib/bsp/engine.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
index 3ab4295d24..f75454d4b4 100644
--- a/scripts/lib/bsp/engine.py
+++ b/scripts/lib/bsp/engine.py
@@ -464,9 +464,9 @@ class ListInputLine(InputLine):
464 choices_str = self.gen_choices_str(choicepairs) 464 choices_str = self.gen_choices_str(choicepairs)
465 choices_val_list = self.gen_choices_val_list(choicepairs) 465 choices_val_list = self.gen_choices_val_list(choicepairs)
466 if checklist: 466 if checklist:
467 choiceval = default(find_choicevals(raw_input(msg + "\n" + choices_str), choices_val_list), default_choice) 467 choiceval = default(find_choicevals(input(msg + "\n" + choices_str), choices_val_list), default_choice)
468 else: 468 else:
469 choiceval = default(find_choiceval(raw_input(msg + "\n" + choices_str), choices_val_list), default_choice) 469 choiceval = default(find_choiceval(input(msg + "\n" + choices_str), choices_val_list), default_choice)
470 470
471 return choiceval 471 return choiceval
472 472
@@ -540,12 +540,12 @@ def get_verified_git_repo(input_str, name):
540 """ 540 """
541 msg = input_str.strip() + " " 541 msg = input_str.strip() + " "
542 542
543 giturl = default(raw_input(msg), name) 543 giturl = default(input(msg), name)
544 544
545 while True: 545 while True:
546 if verify_git_repo(giturl): 546 if verify_git_repo(giturl):
547 return giturl 547 return giturl
548 giturl = default(raw_input(msg), name) 548 giturl = default(input(msg), name)
549 549
550 550
551def get_verified_file(input_str, name, filename_can_be_null): 551def get_verified_file(input_str, name, filename_can_be_null):
@@ -555,14 +555,14 @@ def get_verified_file(input_str, name, filename_can_be_null):
555 """ 555 """
556 msg = input_str.strip() + " " 556 msg = input_str.strip() + " "
557 557
558 filename = default(raw_input(msg), name) 558 filename = default(input(msg), name)
559 559
560 while True: 560 while True:
561 if not filename and filename_can_be_null: 561 if not filename and filename_can_be_null:
562 return filename 562 return filename
563 if os.path.isfile(filename): 563 if os.path.isfile(filename):
564 return filename 564 return filename
565 filename = default(raw_input(msg), name) 565 filename = default(input(msg), name)
566 566
567 567
568def replace_file(replace_this, with_this): 568def replace_file(replace_this, with_this):