#NEWLINE# def load_attrib( item , attrib , attribs , convert ) : #NEWLINE# #INDENT# if ( not ( attrib in attribs ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# value = attribs [ attrib ] #NEWLINE# item . __dict__ [ attrib ] = convert ( item )