#NEWLINE# def remove_response( self , expr ) : #NEWLINE# #INDENT# 'Removes the specified response expression. Spaces within\n        the expression are ignored.\n        ' #NEWLINE# expr = _remove_spaces ( expr ) #NEWLINE# response = self . _responses . get ( expr ) #NEWLINE# if response : #NEWLINE# #INDENT# response . deactivate ( ) #NEWLINE# del self . _responses [ expr ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . parent . raise_exception ( ( "Trying to remove response '%s' that is not in this driver." % expr ) , AttributeError ) #NEWLINE# #UNINDENT# self . parent . config_changed ( )