VirtualBox

Changeset 71361 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Mar 15, 2018 5:26:31 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121312
Message:

ValidationKit: fix error handling for missing screenshot files in the vsheriff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r71359 r71361  
    226226        Returns SHA-2 digest string on success, None on failure.
    227227        """
    228         (oFile, _, _) = self.oTestSet.openFile(oFile.sFile, 'rb');
     228        (oImgFile, _, _) = self.oTestSet.openFile(oFile.sFile, 'rb');
    229229        try:
    230             abImageFile = oFile.read();
     230            abImageFile = oImgFile.read();
    231231        except Exception as oXcpt:
    232232            self.oSheriff.vprint(u'Error reading the "%s" image file: %s' % (oFile.sFile, oXcpt,))
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