1
0

don't use bare except

This commit is contained in:
Bryan Stitt
2013-11-09 21:23:57 -08:00
parent f0eb0eccde
commit 225d8b83a3
9 changed files with 31 additions and 31 deletions

View File

@@ -385,7 +385,7 @@ class Network(threading.Thread):
if pruning_level == '': pruning_level = '0'
try:
is_recent = float(version)>=float(PROTOCOL_VERSION)
except:
except Exception:
is_recent = False
if out and is_recent: