Skip to content

Commit

Permalink
Changed the except to have OSError instead of Exception
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #104

Reviewed By: amithash

Pulled By: williamspatrick

fbshipit-source-id: 897e426078
  • Loading branch information
mohitanand001 authored and facebook-github-bot committed Jan 7, 2020
1 parent 94a5a72 commit 5880a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fbtp/unittests/FbtpUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5880a21

Please sign in to comment.