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 hashlib
from pyelliptic.openssl import OpenSSL
import pickle
import platform
import textwrap
import debug

View File

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