#NEWLINE# def _disable_credit_switch_handlers( self ) : #NEWLINE# #INDENT# for switch_settings in self . credits_config [ 'switches' ] : #NEWLINE# #INDENT# self . machine . switch_controller . remove_switch_handler ( switch_name = switch_settings [ 'switch' ] . name , callback = self . _credit_switch_callback ) #NEWLINE# #UNINDENT# for switch in self . credits_config [ 'service_credits_switch' ] : #NEWLINE# #INDENT# self . machine . switch_controller . remove_switch_handler ( switch_name = switch . name , callback = self . _service_credit_callback )