client: Remove unused asyncio events.

This commit is contained in:
Damir Jelić 2019-05-07 14:57:53 +02:00
parent 6988a1de95
commit aa1143328f

View File

@ -2,7 +2,6 @@ import asyncio
from pprint import pformat from pprint import pformat
from typing import Any, Dict, Optional from typing import Any, Dict, Optional
from aiohttp.client_exceptions import ClientConnectionError
from nio import (AsyncClient, ClientConfig, EncryptionError, from nio import (AsyncClient, ClientConfig, EncryptionError,
GroupEncryptionError, KeysQueryResponse, MegolmEvent, GroupEncryptionError, KeysQueryResponse, MegolmEvent,
RoomEncryptedEvent, SyncResponse, RoomEncryptedEvent, SyncResponse,
@ -34,8 +33,6 @@ class PanClient(AsyncClient):
self.task = None self.task = None
self.queue = queue self.queue = queue
self.loop_stopped = asyncio.Event()
self.synced = asyncio.Event()
self.add_to_device_callback( self.add_to_device_callback(
self.key_verification_cb, self.key_verification_cb,