Turn off our debugging levers

This commit is contained in:
Ned Batchelder
2013-02-19 12:43:58 -05:00
parent 3316aeb032
commit e8da1b8f61

View File

@@ -58,7 +58,8 @@ def safe_exec(code, globals_dict, locals_dict, future_division=False, assumed_im
json.dump(l_dict, sys.stdout)
"""))
if 1:
# Turn this on to see what's being executed.
if 0:
print "--{:-<40}".format(" jailed ")
print "".join(the_code)
print "--{:-<40}".format(" exec ")
@@ -112,5 +113,5 @@ def not_safe_exec(code, globals_dict, locals_dict, future_division=False, assume
# Running Python code in the sandbox makes it difficult to debug.
# Turn this on to run the code directly.
if 1:
if 0:
safe_exec = not_safe_exec