-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Resolve flake8 E722 bare except
It is considered bad practice to use a bare except as this kind of except statement can have untended consequences such as disabling ctrl+c interrupts. At the vary least we should use Exception however a more specific one would be better. This PR uses the general Exception to resolve the linter which we can add more specific ones later when we can appropriately unit test the code. Signed-off-by: Thanh Ha <[email protected]> Change-Id: I9afcff49f34326d279a63ce972d12f9aa72f18e2
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters