diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-13 14:36:56 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-13 14:36:56 +0100 |
commit | 765fa19c38e5f5c9c60d8046bb6120b9fcdc7a79 (patch) | |
tree | ea14f04e59456bcfb9338fedf0ca484ad55d90d5 /alot/commands/taglist.py | |
parent | c97102f22c1d19f0e67af878e720710a4cc592ae (diff) |
fix imports
Diffstat (limited to 'alot/commands/taglist.py')
-rw-r--r-- | alot/commands/taglist.py | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/alot/commands/taglist.py b/alot/commands/taglist.py index 989453cd..48c92b91 100644 --- a/alot/commands/taglist.py +++ b/alot/commands/taglist.py @@ -1,35 +1,7 @@ from commands import Command, registerCommand -from twisted.internet import defer -import os -import re -import code -import glob -import logging -import threading -import subprocess -import shlex -import email -import tempfile -from email import Charset -from email.header import Header -from email.mime.text import MIMEText -from email.mime.multipart import MIMEMultipart -import urwid -from twisted.internet import defer +import commands -import buffer -import settings -import widgets -import completion -import helper -from db import DatabaseROError -from db import DatabaseLockedError -from completion import ContactsCompleter -from completion import AccountCompleter -from message import decode_to_unicode -from message import decode_header -from message import encode_header MODE = 'taglist' @@ -37,7 +9,7 @@ MODE = 'taglist' class TaglistSelectCommand(Command): def apply(self, ui): tagstring = ui.current_buffer.get_selected_tag() - cmd = SearchCommand(query='tag:%s' % tagstring) + cmd = commands.globals.SearchCommand(query='tag:%s' % tagstring) ui.apply_command(cmd) |