pantalaimon: Isort the tree.

This commit is contained in:
Damir Jelić 2019-06-11 11:24:18 +02:00
parent a164924b28
commit 5b58294a95
3 changed files with 7 additions and 6 deletions

View File

@ -24,9 +24,9 @@ from jsonschema import Draft4Validator, FormatChecker, validators
from nio import (AsyncClient, ClientConfig, EncryptionError, KeysQueryResponse,
KeyVerificationEvent, KeyVerificationKey, KeyVerificationMac,
KeyVerificationStart, LocalProtocolError, MegolmEvent,
RoomEncryptedEvent, SyncResponse,
RoomContextError, RoomMessageText, RoomMessageMedia,
RoomEncryptedMedia, RoomTopicEvent, RoomNameEvent)
RoomContextError, RoomEncryptedEvent, RoomEncryptedMedia,
RoomMessageMedia, RoomMessageText, RoomNameEvent,
RoomTopicEvent, SyncResponse)
from nio.crypto import Sas
from nio.store import SqliteStore
@ -98,6 +98,7 @@ def validate_json(instance, schema):
class UnknownRoomError(Exception):
pass
class InvalidOrderByError(Exception):
pass

View File

@ -28,7 +28,7 @@ from multidict import CIMultiDict
from nio import (Api, EncryptionError, LoginResponse, OlmTrustError,
SendRetryError)
from pantalaimon.client import PanClient, UnknownRoomError, InvalidOrderByError
from pantalaimon.client import InvalidOrderByError, PanClient, UnknownRoomError
from pantalaimon.log import logger
from pantalaimon.store import ClientInfo, PanStore
from pantalaimon.thread_messages import (AcceptSasMessage, CancelSasMessage,

View File

@ -15,8 +15,8 @@
import datetime
import tantivy
from nio import (RoomMessageText, RoomNameEvent, RoomTopicEvent,
RoomMessageMedia, RoomEncryptedMedia)
from nio import (RoomEncryptedMedia, RoomMessageMedia, RoomMessageText,
RoomNameEvent, RoomTopicEvent)
def sanitize_room_id(room_id):