mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-30 11:14:32 +00:00
fix indentation
This commit is contained in:
@@ -134,7 +134,7 @@ class RemoteHandler(logging.Handler):
|
||||
|
||||
# Connect without DNS lookups if it's a direct IP.
|
||||
if _reactor is None:
|
||||
_reactor = reactor # type: ignore[assignment]
|
||||
_reactor = reactor # type: ignore[assignment]
|
||||
|
||||
try:
|
||||
ip = ip_address(self.host)
|
||||
|
||||
@@ -52,7 +52,7 @@ class PeriodicallyFlushingMemoryHandler(MemoryHandler):
|
||||
|
||||
reactor_to_use: IReactorCore
|
||||
if reactor is None:
|
||||
reactor_to_use = cast(IReactorCore, global_reactor)
|
||||
reactor_to_use = cast(IReactorCore, global_reactor)
|
||||
else:
|
||||
reactor_to_use = reactor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user