J
Joan Miller
I've a main function called i.e. *foo()* which has a block of code
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
-----------
foo():
...
if self.background:
_log.exception(str(error))
return ReturnCode.ERROR, None
else:
raise NameError(error)
that is repetead several times (for the error catching code and error
reporting), but that code has a return to exit of *foo()*
-----------
foo():
...
if self.background:
_log.exception(str(error))
return ReturnCode.ERROR, None
else:
raise NameError(error)