From 0d7d27d0d46478ce8ab48bce27712c5b6e640880 Mon Sep 17 00:00:00 2001 From: farziengineer Date: Fri, 7 Jun 2019 17:52:25 +0530 Subject: [PATCH] Changed the except to have OSError instead of Exception --- tests/fbtp/unittests/FbtpUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fbtp/unittests/FbtpUtil.py b/tests/fbtp/unittests/FbtpUtil.py index 1956e5a1e74d..140cd36d5e44 100644 --- a/tests/fbtp/unittests/FbtpUtil.py +++ b/tests/fbtp/unittests/FbtpUtil.py @@ -29,7 +29,7 @@ currentPath = os.getcwd() commonPath = currentPath.replace('fbtp/unittests', 'common') sys.path.insert(0, commonPath) -except Exception: +except OSError: pass import BaseUtil