VirtualBox

Ignore:
Timestamp:
Nov 24, 2022 11:46:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154728
Message:

Validation Kit: Fixed lots of warnings, based on pylint 2.12.2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testresultfailures.py

    r96407 r97673  
    455455        oData = self.getById(idTestResult)
    456456        (tsCur, tsCurMinusOne) = self._oDb.getCurrentTimestamps();
    457         if oData.tsEffective != tsCur and oData.tsEffective != tsCurMinusOne:
     457        if oData.tsEffective not in (tsCur, tsCurMinusOne):
    458458            self._historizeEntry(idTestResult, tsCurMinusOne);
    459459            self._readdEntry(uidAuthor, oData, tsCurMinusOne);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette