#NEWLINE# def readBuildable( self , node ) : #NEWLINE# #INDENT# mclass = node . getAttribute ( 'class' ) #NEWLINE# argdict = self . readArgs ( node ) #NEWLINE# try : #NEWLINE# #INDENT# m = eval ( mclass ) ( ** argdict ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# print ( ( 'Could not construct' , mclass ) ) #NEWLINE# print ( ( 'with arguments:' , argdict ) ) #NEWLINE# return None #NEWLINE# #UNINDENT# m . name = node . getAttribute ( 'name' ) #NEWLINE# self . readParams ( node , m ) #NEWLINE# return m