From 456dff0b61113e7a1e48eab010cd3f6649b073db Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 24 Jan 2021 21:43:35 +0100 Subject: xmlstream: rename run_filters --- slixmpp/xmlstream/xmlstream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 9fb38f46..57922bbc 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -237,7 +237,7 @@ class XMLStream(asyncio.BaseProtocol): self.add_event_handler('disconnected', self._remove_schedules) self.add_event_handler('session_start', self._start_keepalive) - self._run_filters = None + self._run_out_filters: Optional[Future] = None self.__slow_tasks: List[Future] = [] @property @@ -281,8 +281,8 @@ class XMLStream(asyncio.BaseProtocol): localhost """ - if self._run_filters is None or self._run_filters.done(): - self._run_filters = asyncio.ensure_future( + if self._run_out_filters is None or self._run_out_filters.done(): + self._run_out_filters = asyncio.ensure_future( self.run_filters(), loop=self.loop, ) -- cgit v1.2.3