summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-05-31 23:25:26 +0200
committermathieui <mathieui@mathieui.net>2015-05-31 23:25:26 +0200
commitab3c38270950435e0c25d2a6fb973e6bbfd04f77 (patch)
tree0c0d5257629e2cd9f16975610cbf76048bf0d334 /src/core
parent39ed7e35cc1f2a6838742ad47c7f83a87d8f92af (diff)
downloadpoezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.gz
poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.bz2
poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.tar.xz
poezio-ab3c38270950435e0c25d2a6fb973e6bbfd04f77.zip
Cleanup: remove sone unused code and threading stuff
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.py8
-rw-r--r--src/core/handlers.py1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/core/core.py b/src/core/core.py
index d2c17fd7..a9ba8581 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -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]
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 828c39d1..96f8215f 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -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)