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:

committed by
Ole Trøan

parent
63b19bf414
commit
bff9f2f2e7
@ -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,
|
||||
|
Reference in New Issue
Block a user