#NEWLINE# def __setitem__( self , key , value ) : #NEWLINE# #INDENT# if ( key in self . read_only_fields ) : #NEWLINE# #INDENT# raise RuntimeError ( ( "Field '%s' is read-only" % key ) ) #NEWLINE# #UNINDENT# value = self . _normalize ( key , value ) #NEWLINE# self . _data [ key ] = value