#NEWLINE# @ base . remotable_classmethod #NEWLINE# def _get_by_service( cls , context , service_id , use_slave = False ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# db_computes = db . compute_nodes_get_by_service_id ( context , service_id ) #NEWLINE# #UNINDENT# except exception . ServiceNotFound : #NEWLINE# #INDENT# db_computes = [ ] #NEWLINE# #UNINDENT# return base . obj_make_list ( context , cls ( context ) , objects . ComputeNode , db_computes )