def __handle_except(inst):
 return __standardize_result(False, 'Docker-compose command {0} failed'.format(inspect.stack()[1][3]), '{0}'.format(inst), None)

def __handle_except ( inst ) : return __standardize_result ( False , 'Docker-compose command {0} failed' . format ( inspect . stack ( ) [ 1 ] [ 3 ] ) , '{0}' . format ( inst ) , None )
handle exception and return a standard result .