From bf37cf5f5ad730496162cf0011dcab7b0ebccfa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 10 Sep 2019 17:59:51 +0200 Subject: poezio/mam: remove unused imports, add missing md5 import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/mam.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/poezio/mam.py b/poezio/mam.py index 919bb6dd..aa87dc4e 100644 --- a/poezio/mam.py +++ b/poezio/mam.py @@ -6,17 +6,18 @@ XEP-0313: Message Archive Management(MAM). """ -import asyncio import random from datetime import datetime, timedelta, timezone +from hashlib import md5 +from typing import Optional, Callable + from slixmpp import JID from slixmpp.exceptions import IqError, IqTimeout from poezio.theming import get_theme from poezio import tabs from poezio import xhtml, colors from poezio.config import config -from poezio.text_buffer import Message, TextBuffer -from typing import List, Optional, Callable +from poezio.text_buffer import TextBuffer class DiscoInfoException(Exception): pass -- cgit v1.2.3