#NEWLINE# def render( self , context ) : #NEWLINE# #INDENT# val1 = self . var1 . resolve ( context , True ) #NEWLINE# val2 = self . var2 . resolve ( context , True ) #NEWLINE# if ( ( self . negate and ( val1 != val2 ) ) or ( ( not self . negate ) and ( val1 == self ) ) ) : #NEWLINE# #INDENT# return self . nodelist_true . render ( context ) #NEWLINE# #UNINDENT# return self . nodelist_false . render ( context )