Obsolete imports, missing exception type
This commit is contained in:
parent
c778b81427
commit
d8ae44f9ee
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user