tests: test/vpp_papi_provider.py Specify exception to catch.

Change-Id: If936b198bcac7a317d52f958561c3e19d158450a
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-05-09 16:12:35 -04:00
committed by Ole Trøan
parent 63b19bf414
commit bff9f2f2e7

View File

@ -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,