diff options
author | reivilibre <oliverw@matrix.org> | 2022-11-01 10:30:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 10:30:43 +0000 |
commit | b922b54b6143f13c0786a18fcbb5f55724ea72fc (patch) | |
tree | 69b67b240e14396b715bc528046841b73e25e831 /synapse/app/complement_fork_starter.py | |
parent | Fix dehydrated device REST checks (#14336) (diff) | |
download | synapse-b922b54b6143f13c0786a18fcbb5f55724ea72fc.tar.xz |
Fix type annotation causing import time error in the Complement forking launcher. (#14084)
Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to 'synapse/app/complement_fork_starter.py')
-rw-r--r-- | synapse/app/complement_fork_starter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/complement_fork_starter.py b/synapse/app/complement_fork_starter.py index b22f315453..8c0f4a57e7 100644 --- a/synapse/app/complement_fork_starter.py +++ b/synapse/app/complement_fork_starter.py @@ -55,13 +55,13 @@ import os import signal import sys from types import FrameType -from typing import Any, Callable, List, Optional +from typing import Any, Callable, Dict, List, Optional from twisted.internet.main import installReactor # a list of the original signal handlers, before we installed our custom ones. # We restore these in our child processes. -_original_signal_handlers: dict[int, Any] = {} +_original_signal_handlers: Dict[int, Any] = {} class ProxiedReactor: |