#NEWLINE# @ classmethod #NEWLINE# def normalized_elements( cls , path ) : #NEWLINE# #INDENT# path_split = path . split ( '/' ) #NEWLINE# while ( path_split [ ( - 1 ) ] in ( '' , '.' ) ) : #NEWLINE# #INDENT# path_split . pop ( ( - 1 ) ) #NEWLINE# #UNINDENT# return path_split