#NEWLINE# @ classmethod #NEWLINE# def load_namespaces( cls , element ) : #NEWLINE# #INDENT# namespaces = [ ] #NEWLINE# for sub_element in namespaces : #NEWLINE# #INDENT# tag = sub_element . tag #NEWLINE# if ( tag == 'namespace' ) : #NEWLINE# #INDENT# namespace = Namespace . from_element ( sub_element ) #NEWLINE# namespaces . append ( namespace ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# assert False , 'This should never happen' #NEWLINE# #UNINDENT# #UNINDENT# return namespaces