def get_node(conn, name):
    '''
    Return a node for the named VM
    '''
    for node in conn.list_servers(per_page=1000):
        if node['name'] == name:
            return node
def get_node ( conn , name ) : for node in conn . list_servers ( per_page = 1000 ) : if node [ 'name' ] == name : return node
Return a node for the named VM