Obsolete imports, missing exception type

This commit is contained in:
Peter Šurda 2017-02-09 21:04:07 +01:00
parent c778b81427
commit d8ae44f9ee
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,6 @@ import time
import os import os
import hashlib import hashlib
from pyelliptic.openssl import OpenSSL from pyelliptic.openssl import OpenSSL
import pickle
import platform import platform
import textwrap import textwrap
import debug import debug

View File

@ -133,7 +133,7 @@ class outgoingSynSender(threading.Thread, StoppableThread):
with knownnodes.knownNodesLock: with knownnodes.knownNodesLock:
try: try:
del knownnodes.knownNodes[self.streamNumber][peer] del knownnodes.knownNodes[self.streamNumber][peer]
except: except KeyError:
pass pass
logger.debug('deleting ' + str(peer) + ' from knownnodes.knownNodes because it caused a socks.socksocket exception. We must not be 64-bit compatible.') logger.debug('deleting ' + str(peer) + ' from knownnodes.knownNodes because it caused a socks.socksocket exception. We must not be 64-bit compatible.')
continue continue