#NEWLINE# def stub_service_get_by_host_and_binary( context , host_name , binary ) : #NEWLINE# #INDENT# for service in stub_service_get_all ( context ) : #NEWLINE# #INDENT# if ( ( service [ 'host' ] == host_name ) and ( service [ 'binary' ] == binary ) ) : #NEWLINE# #INDENT# return service