mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 20:35:00 -04:00
Remove unnecessary ignores due to Twisted upgrade. (#11939)
Twisted 22.1.0 fixed some internal type hints, allowing Synapse to remove ignore calls for parameters to connectTCP.
This commit is contained in:
parent
6b91315ddf
commit
6c0984e3f0
4 changed files with 5 additions and 4 deletions
|
@ -373,7 +373,7 @@ def lazyConnection(
|
|||
|
||||
reactor = hs.get_reactor()
|
||||
reactor.connectTCP(
|
||||
host, # type: ignore[arg-type]
|
||||
host,
|
||||
port,
|
||||
factory,
|
||||
timeout=30,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue