diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-10-14 15:43:02 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-10-14 15:43:02 +0200 |
commit | 7587b954e313c116d38db4c128271363a80fed19 (patch) | |
tree | f002f48bca865dab043cfe159e8df1e4828e8b41 | |
parent | b2cf7c0ce83640834bba06e3e467f1ddd9c75525 (diff) | |
download | poezio-7587b954e313c116d38db4c128271363a80fed19.tar.gz poezio-7587b954e313c116d38db4c128271363a80fed19.tar.bz2 poezio-7587b954e313c116d38db4c128271363a80fed19.tar.xz poezio-7587b954e313c116d38db4c128271363a80fed19.zip |
basetabs: reorganise imports
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/tabs/basetabs.py | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 841bc200..6e4d9553 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -17,27 +17,22 @@ import logging import string import asyncio import time +from math import ceil, log10 from datetime import datetime from xml.etree import cElementTree as ET from typing import Any, Callable, Dict, List, Optional, Union -from slixmpp import JID, InvalidJID, Message - +from poezio import mam, poopt, timed_events, xhtml, windows from poezio.core.structs import Command, Completion, Status -from poezio import timed_events -from poezio import windows -from poezio import xhtml -from poezio import poopt -from math import ceil, log10 -from poezio.windows.funcs import truncate_nick, parse_attrs -from poezio import mam from poezio.common import safeJID from poezio.config import config -from poezio.decorators import refresh_wrapper +from poezio.decorators import command_args_parser, refresh_wrapper from poezio.logger import logger from poezio.text_buffer import TextBuffer -from poezio.theming import to_curses_attr, get_theme, dump_tuple -from poezio.decorators import command_args_parser +from poezio.theming import get_theme, dump_tuple +from poezio.windows.funcs import truncate_nick + +from slixmpp import JID, InvalidJID, Message log = logging.getLogger(__name__) |