loganalyzer
loganalyzer copied to clipboard
checks: Update outdated nvidia drivers detection
Description
This updates the nvidia drivers check to include the new log message for it in v31.
I also took the opportunity to remove unnecessary len() calls in that file (python lists have always positive length and a list with a length of 0 has a bool value of False).
Motivation and Context
The new nvidia implementation in v31 has different behaviour with outdated drivers and wasn't getting detected.
How Has This Been Tested?
Ran analyzer on a log with outdated drivers, verified message appeared.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
- Code cleanup (non-breaking change which makes code smaller or more readable)
Checklist:
- [x] My code has been run through clang-format.
- [x] I have read the contributing document.
- [x] My code is not on the master branch.
- [x] The code has been tested.
- [x] All commit messages are properly formatted and commits squashed where appropriate.
- [x] I have included updates to all appropriate documentation.