Cleanup: remove sone unused code and threading stuff

This commit is contained in:
mathieui 2015-05-31 23:25:26 +02:00
parent 39ed7e35cc
commit ab3c382709
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3
3 changed files with 0 additions and 10 deletions

View file

@ -16,7 +16,6 @@ import os
import pipes
import sys
import time
from threading import Event
from slixmpp.xmlstream.handler import Callback
@ -72,8 +71,6 @@ class Core(object):
roster.set_node(self.xmpp.client_roster)
decorators.refresh_wrapper.core = self
self.bookmarks = BookmarkList()
self.paused = False
self.event = Event()
self.debug = False
self.remote_fifo = None
# a unique buffer used to store global informations
@ -612,11 +609,6 @@ class Core(object):
# whether to refresh after ALL keys have been handled
for char_list in separate_chars_from_bindings(big_char_list):
if self.paused:
self.current_tab().input.do_command(char_list[0])
self.current_tab().input.prompt()
self.event.set()
continue
# Special case for M-x where x is a number
if len(char_list) == 1:
char = char_list[0]

View file

@ -1237,7 +1237,6 @@ def validate_ssl(self, pem):
'Warning')
def check_input():
self.current_tab().input = saved_input
self.paused = False
if input.value:
self.information('Setting new certificate: old: %s, new: %s' % (cert, sha2_found_cert), 'Info')
log.debug('Setting certificate to %s', sha2_found_cert)

View file

@ -13,7 +13,6 @@ log = logging.getLogger(__name__)
import collections
import curses
import string
from threading import RLock
import core
import singleton