mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
event_queue: Fix strict_optional errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
0d7539dc50
commit
e3fc74fd20
@@ -12,6 +12,5 @@ def set_descriptor_by_handler_id(handler_id: int,
|
||||
client_descriptor: 'ClientDescriptor') -> None:
|
||||
descriptors_by_handler_id[handler_id] = client_descriptor
|
||||
|
||||
def clear_descriptor_by_handler_id(handler_id: int,
|
||||
client_descriptor: 'ClientDescriptor') -> None:
|
||||
def clear_descriptor_by_handler_id(handler_id: int) -> None:
|
||||
del descriptors_by_handler_id[handler_id]
|
||||
|
||||
Reference in New Issue
Block a user