From 61bb4e783b3acc62b121a228f6b14c2462e23315 Mon Sep 17 00:00:00 2001 From: Leonardo Lazzaro Date: Thu, 18 Aug 2022 20:23:15 +0200 Subject: lint: enable E722 do not use bare except --- test/functional/test_framework/test_framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/test_framework/test_framework.py') diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index b1164b98fd..bdef62f0d1 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -547,7 +547,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): node.start(extra_args[i], *args, **kwargs) for node in self.nodes: node.wait_for_rpc_connection() - except: + except Exception: # If one node failed to start, stop the others self.stop_nodes() raise -- cgit v1.2.3