Do not drop to pdb shell when verbose

This commit is contained in:
mrg 2020-11-03 15:46:46 -08:00
parent 29f4ee492b
commit 6335bc3784
1 changed files with 0 additions and 6 deletions

View File

@ -26,9 +26,6 @@ def check(check, str):
log("ERROR: file {0}: line {1}: {2}\n".format(
os.path.basename(filename), line_number, str))
if globals.OPTS.debug_level > 0:
import pdb
pdb.set_trace()
assert 0
@ -40,9 +37,6 @@ def error(str, return_value=0):
log("ERROR: file {0}: line {1}: {2}\n".format(
os.path.basename(filename), line_number, str))
if globals.OPTS.debug_level > 0 and return_value != 0:
import pdb
pdb.set_trace()
assert return_value == 0