VirtualBox

Changeset 61318 in vbox


Ignore:
Timestamp:
May 31, 2016 7:40:16 AM (9 years ago)
Author:
vboxsync
Message:

fix for new testboxes

File:
1 edited

Legend:

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

    r61261 r61318  
    395395        # Update the row in TestBoxes if something changed.
    396396        #
    397         cPctScratchDiff = (cMbScratch - oTestBox.cMbScratch) * 100 / oTestBox.cMbScratch;
     397        if oTestBox.cMbScratch != 0:
     398            cPctScratchDiff = (cMbScratch - oTestBox.cMbScratch) * 100 / oTestBox.cMbScratch;
     399        else:
     400            cPctScratchDiff = 100;
    398401
    399402        # pylint: disable=R0916
Note: See TracChangeset for help on using the changeset viewer.

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