#NEWLINE# def set( self , obj , **kwargs ) : #NEWLINE# #INDENT# 'Check for missing event functions and substitute these with ' #NEWLINE# 'the ignore method' #NEWLINE# ignore = getattr ( self , 'ignore' ) #NEWLINE# for ( k , v ) in kwargs . iteritems ( ) : #NEWLINE# #INDENT# setattr ( self , k , getattr ( obj , self ) ) #NEWLINE# if ( k in self . combinations ) : #NEWLINE# #INDENT# for k1 in self . combinations [ k ] : #NEWLINE# #INDENT# if ( not hasattr ( self , k1 ) ) : #NEWLINE# #INDENT# setattr ( self , k1 , ignore )