Exemplo n.º 1
0
 def _f(object_to_check):
     log.info('{}, args: {}'.format(f_object, object_to_check))
     if object_to_check < 0:
         raise Exceptions.FailCheckErrSign('Oops :)')
     log.info('Function: {}, Status: OK'.format(f_object.__name__))
     return f_object(object_to_check)