mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 14:58:13 +00:00
Some wording changes.
This commit is contained in:
@ -65,7 +65,7 @@ class Project:
|
||||
self._used_tcp_ports = set()
|
||||
self._used_udp_ports = set()
|
||||
|
||||
# List of clients listen for notifications
|
||||
# clients listening for notifications
|
||||
self._listeners = set()
|
||||
|
||||
if path is None:
|
||||
@ -437,10 +437,10 @@ class Project:
|
||||
|
||||
def emit(self, action, event):
|
||||
"""
|
||||
Send an event to all the client listens for notifications
|
||||
Send an event to all the client listening for notifications
|
||||
|
||||
:param action: Action happened
|
||||
:param event: Event sended to the client
|
||||
:param action: Action name
|
||||
:param event: Event to send
|
||||
"""
|
||||
for listener in self._listeners:
|
||||
listener.put_nowait((action, event, ))
|
||||
|
Reference in New Issue
Block a user