Skip to content

Commit 402faf5

Browse files
committed
Undo bootstrap hook for now
1 parent b0b83ab commit 402faf5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python/private/stage2_bootstrap_template.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -365,15 +365,6 @@ def main():
365365
print_verbose("initial environ:", mapping=os.environ)
366366
print_verbose("initial sys.path:", values=sys.path)
367367

368-
if bool(os.environ.get("RULES_PYTHON_BOOTSTRAP_REPL")):
369-
global MAIN_PATH
370-
global MAIN_MODULE
371-
MAIN_PATH = ""
372-
MAIN_MODULE = "code"
373-
374-
# Prevent subprocesses from also entering the REPL.
375-
del os.environ["RULES_PYTHON_BOOTSTRAP_REPL"]
376-
377368
main_rel_path = None
378369
# todo: things happen to work because find_runfiles_root
379370
# ends up using stage2_bootstrap, and ends up computing the proper

0 commit comments

Comments
 (0)