#NEWLINE# def get_undeleted_records( self ) : #NEWLINE# #INDENT# undeleted = ( lambda s : ( s and s [ 0 ] and ( ( len ( s ) < 6 ) or ( s [ 5 ] != 'delete' ) ) ) ) #NEWLINE# result = [ section [ 0 ] for section in self . get_sections ( ) if undeleted ( section ) ] #NEWLINE# return result