summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-06 21:10:09 +0100
committermathieui <mathieui@mathieui.net>2011-11-06 21:10:09 +0100
commitc3c67b5e0afec8b322b8f08aa76b8e35c24bc23b (patch)
treefdc82387aafafb2220411ebd631ef10844499b0a /src/core.py
parent0315b05f5122f1f4697699fc09de1b0860203177 (diff)
downloadpoezio-c3c67b5e0afec8b322b8f08aa76b8e35c24bc23b.tar.gz
poezio-c3c67b5e0afec8b322b8f08aa76b8e35c24bc23b.tar.bz2
poezio-c3c67b5e0afec8b322b8f08aa76b8e35c24bc23b.tar.xz
poezio-c3c67b5e0afec8b322b8f08aa76b8e35c24bc23b.zip
Code cleanup (unused import, variables, undefined names, etc…)
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core.py b/src/core.py
index dd320022..30935330 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
@@ -39,8 +38,7 @@ import timed_events
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
@@ -1237,7 +1235,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):
@@ -1246,7 +1243,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\