diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-06 21:10:09 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-08 00:47:56 +0100 |
commit | 51364f7bea78f27820c67bf83a8e62ca593d61bb (patch) | |
tree | fd26f69fa343aef218637f9f3b46e2ed2b2abe0c /src/core.py | |
parent | 32a75fd5c746ba6080f43ef56be361deb2e3bad3 (diff) | |
download | poezio-51364f7bea78f27820c67bf83a8e62ca593d61bb.tar.gz poezio-51364f7bea78f27820c67bf83a8e62ca593d61bb.tar.bz2 poezio-51364f7bea78f27820c67bf83a8e62ca593d61bb.tar.xz poezio-51364f7bea78f27820c67bf83a8e62ca593d61bb.zip |
Code cleanup (unused import, variables, undefined names, etc…)
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core.py b/src/core.py index f92e2730..78ca971b 100644 --- a/src/core.py +++ b/src/core.py @@ -8,7 +8,6 @@ from gettext import gettext as _ import os -import re import sys import time import curses @@ -44,8 +43,7 @@ from plugin_manager import PluginManager from data_forms import DataFormsTab from config import config, options from logger import logger -from user import User -from roster import Roster, RosterGroup, roster +from roster import roster from contact import Contact, Resource from text_buffer import TextBuffer from keyboard import read_char @@ -1286,7 +1284,6 @@ class Core(object): the_input.auto_completion(items, '') else: # we are writing the server: complete the server - serv = jid.server serv_list = [] for tab in self.tabs: if isinstance(tab, tabs.MucTab): @@ -1295,7 +1292,6 @@ class Core(object): return True def completion_list(self, the_input): - txt = the_input.get_text() muc_serv_list = [] for tab in self.tabs: # TODO, also from an history if isinstance(tab, tabs.MucTab) and\ |