diff options
author | mathieui <mathieui@mathieui.net> | 2022-03-19 00:07:55 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-03-19 00:07:55 +0100 |
commit | abd699593f53ec89b57d697296a6526bcfad7a8d (patch) | |
tree | 135364ba163cd96f60e0f4b636eda19694add9a5 | |
parent | ad610c7dedaa0279550fba6e4267944d00fd834f (diff) | |
parent | 4202ed4cd521100e443aebf142dbaf111ba568c0 (diff) | |
download | slixmpp-abd699593f53ec89b57d697296a6526bcfad7a8d.tar.gz slixmpp-abd699593f53ec89b57d697296a6526bcfad7a8d.tar.bz2 slixmpp-abd699593f53ec89b57d697296a6526bcfad7a8d.tar.xz slixmpp-abd699593f53ec89b57d697296a6526bcfad7a8d.zip |
Merge branch 'fix-mypy' into 'master'
Fix mypy in CI
See merge request poezio/slixmpp!191
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 7b362203..9077f23c 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -526,7 +526,7 @@ class XMLStream(asyncio.BaseProtocol): else: self.loop.run_until_complete(self.disconnected) else: - tasks: List[Future] = [asyncio.sleep(timeout)] + tasks: List[Awaitable] = [asyncio.sleep(timeout)] if not forever: tasks.append(self.disconnected) self.loop.run_until_complete(asyncio.wait(tasks)) |