# in seconds : if no input, proceed
PROMPT_TIMEOUT = 5
-def prompt_for_breakpoint_mode ():
+def prompt_for_breakpoint_mode():
global BREAKPOINT_MODE
if PROMPT_MODE:
print(message)
os.system(cmd)
+ else:
+ print("Ignoring breakpoint (BREAKPOINT_MODE=False) : {}".format(message))
+
########################################
def makedirs(path):
same as sysexec, but capture boot manager exceptions
"""
try:
- rc= 0
- rc= sysexec(cmd, log, shell=shell)
+ rc = 0
+ rc = sysexec(cmd, log, shell=shell)
except BootManagerException as e:
pass