summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-03-19 00:07:55 +0100
committermathieui <mathieui@mathieui.net>2022-03-19 00:07:55 +0100
commitabd699593f53ec89b57d697296a6526bcfad7a8d (patch)
tree135364ba163cd96f60e0f4b636eda19694add9a5
parentad610c7dedaa0279550fba6e4267944d00fd834f (diff)
parent4202ed4cd521100e443aebf142dbaf111ba568c0 (diff)
downloadslixmpp-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.py2
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))