aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/vpp_papi_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index a3d20bf3088..ded73189e00 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -201,7 +201,7 @@ class VppPapiProvider(object):
try:
if os.environ['SOCKET'] == '1':
use_socket = True
- except:
+ except KeyError:
pass
self.vpp = VPP(logger=test_class.logger,
read_timeout=read_timeout,