VirtualBox

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


Ignore:
Timestamp:
Jul 3, 2015 11:29:41 PM (10 years ago)
Author:
vboxsync
Message:

vbox.py: Seems 'None' causes DISP_E_BADPARAMCOUNT problems with the safearray in deleteConfig, let's try passing an empty array instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r56685 r56804  
    20402040                    raise;
    20412041            except:
     2042                reporter.logXcpt();
    20422043                if self.fpApiVer >= 4.0:
    20432044                    try:
    20442045                        if self.fpApiVer >= 4.3:
    2045                             oProgress = oVM.deleteConfig(None);
     2046                            oProgress = oVM.deleteConfig([]);
    20462047                        else:
    20472048                            oProgress = oVM.delete(None);
     
    21072108                try:
    21082109                    if self.fpApiVer >= 4.3:
    2109                         oProgress = oVM.deleteConfig(None);
     2110                        oProgress = oVM.deleteConfig([]);
    21102111                    else:
    21112112                        oProgress = oVM.delete(None);
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