xmlstream: rename run_filters

This commit is contained in:
mathieui 2021-01-24 21:43:35 +01:00
parent a0b6bfcefe
commit 456dff0b61

View file

@ -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,
)