-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: fix 'invalid literal for int() with base 10: n/a' error and 'bad line' parse exception in ethtool Signed-off-by: Chen lizhong <[email protected]> * test: fix flake8 error in test file Signed-off-by: Chen lizhong <[email protected]> * test: Remove print in test file Signed-off-by: Chen lizhong <[email protected]> * test: update test for n/a checking Signed-off-by: Chen lizhong <[email protected]> * fix: use isnumeric() method instead of 'n/a in value' Signed-off-by: Chen lizhong <[email protected]> * fix: support python3 and python2 both for isnumeric() Signed-off-by: Chen lizhong <[email protected]> * fix: fix flake8 Signed-off-by: Chen lizhong <[email protected]> * fix: fix error in python2.6 Signed-off-by: Chen lizhong <[email protected]>
- Loading branch information
1 parent
b6e75ab
commit 9ed8f4a
Showing
2 changed files
with
45 additions
and
12 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