summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-01-24 21:43:35 +0100
committermathieui <mathieui@mathieui.net>2021-01-29 15:33:44 +0100
commit456dff0b61113e7a1e48eab010cd3f6649b073db (patch)
tree412125e27d14e1a2cf0987d449d39067ba0f397c
parenta0b6bfcefe3308db6e87cba0342b9d3654e047b3 (diff)
downloadslixmpp-456dff0b61113e7a1e48eab010cd3f6649b073db.tar.gz
slixmpp-456dff0b61113e7a1e48eab010cd3f6649b073db.tar.bz2
slixmpp-456dff0b61113e7a1e48eab010cd3f6649b073db.tar.xz
slixmpp-456dff0b61113e7a1e48eab010cd3f6649b073db.zip
xmlstream: rename run_filters
-rw-r--r--slixmpp/xmlstream/xmlstream.py6
1 files 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,
)