#NEWLINE# @ register . filter #NEWLINE# @ stringfilter #NEWLINE# def noscream( value ) : #NEWLINE# #INDENT# for ( scream , calm ) in settings . SCREAMING_LOCATIONS : #NEWLINE# #INDENT# if ( scream in value ) : #NEWLINE# #INDENT# value = value . replace ( scream , calm ) #NEWLINE# #UNINDENT# #UNINDENT# return value