diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-10 17:59:51 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-10 17:59:51 +0200 |
commit | bf37cf5f5ad730496162cf0011dcab7b0ebccfa0 (patch) | |
tree | ae48797e96c1ef82fc08449a4ef982858732a7e0 | |
parent | 73292f7f5e7188413d2a6a1666c9099a4ef976a1 (diff) | |
download | poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.gz poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.bz2 poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.xz poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.zip |
poezio/mam: remove unused imports, add missing md5 import
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/mam.py | 7 |
1 files 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 |