summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-11-21 02:50:07 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-11-21 02:50:07 +0100
commitf157a46bd64484a9cc98456aba71d1981f715b18 (patch)
tree472db41751f82e264e3227821a10e11c4d3b970a
parent647655152f9f823f769c784d3602236066b10f34 (diff)
downloadpoezio-f157a46bd64484a9cc98456aba71d1981f715b18.tar.gz
poezio-f157a46bd64484a9cc98456aba71d1981f715b18.tar.bz2
poezio-f157a46bd64484a9cc98456aba71d1981f715b18.tar.xz
poezio-f157a46bd64484a9cc98456aba71d1981f715b18.zip
core/commands: Move import order to please linter
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/commands.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index b509d4a1..33bd3ecf 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -2,13 +2,10 @@
Global commands which are to be linked to the Core class
"""
-import logging
-
-log = logging.getLogger(__name__)
-
import asyncio
from xml.etree import cElementTree as ET
from typing import List, Optional, Tuple
+import logging
from slixmpp import JID, InvalidJID
from slixmpp.exceptions import XMPPError
@@ -25,15 +22,16 @@ from poezio.common import safeJID
from poezio.config import config, DEFAULT_CONFIG, options as config_opts
from poezio import multiuserchat as muc
from poezio.contact import Contact
-from poezio import windows
from poezio.plugin import PluginConfig
from poezio.roster import roster
from poezio.theming import dump_tuple, get_theme
from poezio.decorators import command_args_parser
-
from poezio.core.structs import Command, POSSIBLE_SHOW
+log = logging.getLogger(__name__)
+
+
class CommandCore:
def __init__(self, core):
self.core = core