buildframework/helium/sf/python/pythoncore/lib/ccm/extra.py
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
child 628 7c4a911dc066
equal deleted inserted replaced
587:85df38eb4012 618:df88fead2976
   131     def handle_exception(request, exc_info):
   131     def handle_exception(request, exc_info):
   132         """append the exception"""
   132         """append the exception"""
   133         _logger.error( "Exception occured in request #%s: %s\n%s" % (request.requestID, exc_info[1], traceback.format_exception(exc_info[0], exc_info[1], exc_info[2])))
   133         _logger.error( "Exception occured in request #%s: %s\n%s" % (request.requestID, exc_info[1], traceback.format_exception(exc_info[0], exc_info[1], exc_info[2])))
   134         exceptions.append(exc_info[1])
   134         exceptions.append(exc_info[1])
   135     
   135     
   136     def handle_result(result):
   136     def handle_result(request, result):
   137         """append  the result"""
   137         """append  the result"""
   138         results.append(result)
   138         results.append(result)
   139 
   139 
   140     class __MaintainProject:
   140     class __MaintainProject:
   141         """_Maintain Project"""
   141         """_Maintain Project"""