def _event_listener(self, event):
        with self._lock:
            # We don't forward time events or, if enabled, non-local events
            if event.event_type == ha.EVENT_TIME_CHANGED or \
               (self.restrict_origin and event.origin != self.restrict_origin):
                return

            for api in self._targets.values():
                fire_event(api, event.event_type, event.data)
Check for Application config with extraneous brackets in section names.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/remote.py/EventForwarder._event_listener--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/_cpchecker.py/Checker.check_app_config_brackets