def _send_event_to_project(self, project_id, action, event):
        """
        Send an event to all the client listening for notifications for
        this project

        :param project: Project where we need to send the event
        :param action: Action name
        :param event: Event to send
        """
        try:
            project_listeners = self._listeners[project_id]
        except KeyError:
            return
        for listener in project_listeners:
            listener.put_nowait((action, event, {}))
def _send_event_to_project ( self , project_id , action , event ) : try : project_listeners = self . _listeners [ project_id ] except KeyError : return for listener in project_listeners : listener . put_nowait ( ( action , event , { } ) )
Send an event to all the client listening for notifications for
        this project

        :param project: Project where we need to send the event
        :param action: Action name
        :param event: Event to send