#NEWLINE# def add_closer( self , form_id , condition ) : #NEWLINE# #INDENT# closers = self . closed_by . get ( form_id , ConditionList ( ) ) #NEWLINE# if ( condition . type == 'if' ) : #NEWLINE# #INDENT# closers . conditions . append ( condition ) #NEWLINE# #UNINDENT# self . closed_by [ form_id ] = condition