summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-06-30 23:58:42 +0200
committermathieui <mathieui@mathieui.net>2016-06-30 23:58:42 +0200
commit3e2839f74ef3253511fd4c9162663af8b5fa2f5b (patch)
tree2f077cbc6ee4f6f0d7d9778d1c1a0c426d4d3575 /poezio/tabs/basetabs.py
parent8383f773413cee8529ad4fdc05f092286d6dd377 (diff)
downloadpoezio-3e2839f74ef3253511fd4c9162663af8b5fa2f5b.tar.gz
poezio-3e2839f74ef3253511fd4c9162663af8b5fa2f5b.tar.bz2
poezio-3e2839f74ef3253511fd4c9162663af8b5fa2f5b.tar.xz
poezio-3e2839f74ef3253511fd4c9162663af8b5fa2f5b.zip
Only import "Command" instead of "core" when possible
Diffstat (limited to 'poezio/tabs/basetabs.py')
-rw-r--r--poezio/tabs/basetabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index b0bebfec..ad467c9a 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -22,7 +22,7 @@ import weakref
from datetime import datetime, timedelta
from xml.etree import cElementTree as ET
-from poezio import core
+from poezio.core.structs import Command
from poezio import timed_events
from poezio import windows
from poezio import xhtml
@@ -185,7 +185,7 @@ class Tab(object):
return
if not desc and shortdesc:
desc = shortdesc
- self.commands[name] = core.Command(func, desc, completion, shortdesc, usage)
+ self.commands[name] = Command(func, desc, completion, shortdesc, usage)
def complete_commands(self, the_input):
"""