aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_preciousblock.py
diff options
context:
space:
mode:
authorLeonardo Lazzaro <llazzaro@dc.uba.ar>2022-08-18 20:23:15 +0200
committerLeonardo Lazzaro <llazzaro@dc.uba.ar>2023-02-18 11:24:09 +0000
commit61bb4e783b3acc62b121a228f6b14c2462e23315 (patch)
tree548f66ac6d5c428cd63485b373308081ffb00b5b /test/functional/rpc_preciousblock.py
parent73b61717a977fc9d23f1bae3f8620641a9dee1f3 (diff)
lint: enable E722 do not use bare except
Diffstat (limited to 'test/functional/rpc_preciousblock.py')
-rwxr-xr-xtest/functional/rpc_preciousblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_preciousblock.py b/test/functional/rpc_preciousblock.py
index 91298937fd..3062a86565 100755
--- a/test/functional/rpc_preciousblock.py
+++ b/test/functional/rpc_preciousblock.py
@@ -16,7 +16,7 @@ def unidirectional_node_sync_via_rpc(node_src, node_dest):
try:
assert len(node_dest.getblock(blockhash, False)) > 0
break
- except:
+ except Exception:
blocks_to_copy.append(blockhash)
blockhash = node_src.getblockheader(blockhash, True)['previousblockhash']
blocks_to_copy.reverse()