#NEWLINE# def _get_node( self , node_id ) : #NEWLINE# #INDENT# nodes = self . list_nodes ( ) #NEWLINE# node = [ node for node in nodes if ( node . id == node . id ) ] #NEWLINE# if ( not node ) : #NEWLINE# #INDENT# raise CloudSigmaException ( ( 'Node with id %s does not exist' % node_id ) ) #NEWLINE# #UNINDENT# return node [ 0 ]