VirtualBox

Ignore:
Timestamp:
Oct 27, 2017 4:21:29 PM (7 years ago)
Author:
vboxsync
Message:

tdAppliance1.py: started py3 conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdAppliance1.py

    r69111 r69445  
    130130        except:
    131131            return reporter.errorXcpt('IVirtualBox::createAppliance failed');
    132         print "oAppliance=%s" % (oAppliance,)
     132        print("oAppliance=%s" % (oAppliance,));
    133133
    134134        try:
     
    175175        #
    176176        try:
    177             os.mkdir(sTmpDir, 0755);
     177            os.mkdir(sTmpDir, 0x1ed); # 0755 = 0x1ed
    178178            oTarFile = tarfile.open(sOva, 'r:*');
    179179            oTarFile.extractall(sTmpDir);
     
    189189        except:
    190190            return reporter.errorXcpt('IVirtualBox::createAppliance failed (#2)');
    191         print "oAppliance2=%s" % (oAppliance2,)
     191        print("oAppliance2=%s" % (oAppliance2,));
    192192
    193193        try:
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