Obsolete imports, missing exception type
This commit is contained in:
parent
c778b81427
commit
d8ae44f9ee
|
@ -58,7 +58,6 @@ import time
|
|||
import os
|
||||
import hashlib
|
||||
from pyelliptic.openssl import OpenSSL
|
||||
import pickle
|
||||
import platform
|
||||
import textwrap
|
||||
import debug
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue
Block a user