diff options
Diffstat (limited to 'scripts/lib/bsp/engine.py')
-rw-r--r-- | scripts/lib/bsp/engine.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index 8e53f00bd2..bf6ebaad47 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py | |||
@@ -463,6 +463,11 @@ def gen_choices_defer(input_line, context, checklist = False): | |||
463 | except KeyError: | 463 | except KeyError: |
464 | nameappend = "" | 464 | nameappend = "" |
465 | 465 | ||
466 | try: | ||
467 | branches_base = input_line.props["branches_base"] | ||
468 | except KeyError: | ||
469 | branches_base = "" | ||
470 | |||
466 | filename = input_line.props["filename"] | 471 | filename = input_line.props["filename"] |
467 | 472 | ||
468 | closetag_start = filename.find(CLOSE_TAG) | 473 | closetag_start = filename.find(CLOSE_TAG) |
@@ -478,6 +483,8 @@ def gen_choices_defer(input_line, context, checklist = False): | |||
478 | captured_context["filename"] = filename | 483 | captured_context["filename"] = filename |
479 | context["nameappend"] = nameappend | 484 | context["nameappend"] = nameappend |
480 | captured_context["nameappend"] = nameappend | 485 | captured_context["nameappend"] = nameappend |
486 | context["branches_base"] = branches_base | ||
487 | captured_context["branches_base"] = branches_base | ||
481 | 488 | ||
482 | deferred_choice = (input_line, captured_context, checklist) | 489 | deferred_choice = (input_line, captured_context, checklist) |
483 | key = name + "_" + filename + "_" + nameappend | 490 | key = name + "_" + filename + "_" + nameappend |