-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CASMPET-6723 catch UnicodeDecodeError from os/run_command (#54)
* CASMPET-6723 raise a UnicodeDecodeError from run_command function * CASMPET-6723 fix test for unicode run_command error * CSAMPET-6723 remove trailing whitespace * CASMPET-6723 remove whitespace in hsm_components_url * Make decoding a parameter Make the `decode` an optional, and just return the string as bytes unless the developer has passed an encoding. It is false to assume an encoding, and auto-resolving the encoding is unreliable. * CASMPET-6723 catch jsonDecodeError if request returns bad json * CASMPET-6723 fixed 'response' spelling * CASMPET-6723 fixing python lint * CASMPET-6723 change JSONDecodeError to ValueError * CASMPET-6723 reformat printed strings * CASMPET-6723 fix line length and indentation --------- Co-authored-by: Russell Bunch <[email protected]>
- Loading branch information
1 parent
5512bbf
commit 683a21a
Showing
5 changed files
with
136 additions
and
46 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
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