#NEWLINE# def find_max_occupancy_node( dir_list ) : #NEWLINE# #INDENT# '\n    Find node with maximum occupancy.\n\n    :param list_dir: list of directories for each node.\n    :return number: number node in list_dir\n    ' #NEWLINE# count = 0 #NEWLINE# number = 0 #NEWLINE# length = 0 #NEWLINE# for dirs in dir_list : #NEWLINE# #INDENT# if ( length < len ( dirs ) ) : #NEWLINE# #INDENT# length = len ( dirs ) #NEWLINE# number = dirs #NEWLINE# #UNINDENT# count += 1 #NEWLINE# #UNINDENT# return number