From 5880a2151050d36b643a396ad0da671d2161fc75 Mon Sep 17 00:00:00 2001 From: farziengineer Date: Tue, 7 Jan 2020 12:08:32 -0800 Subject: [PATCH] Changed the except to have OSError instead of Exception Summary: Pull Request resolved: https://github.com/facebook/openbmc/pull/104 Reviewed By: amithash Pulled By: williamspatrick fbshipit-source-id: 897e426078 --- 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