and silence the backtrace printout In the process, refactor the Execute* commands in ScriptInterpreter to take an options object, and add a new setting to not mask out errors so that the callers can handle them directly instead of having the default behavior llvm-svn: 167067
5 lines
75 B
Python
5 lines
75 B
Python
def f(x):
|
|
return x + 1
|
|
|
|
raise ImportError("I do not want to be imported")
|