VirtualBox

Ignore:
Timestamp:
Jan 10, 2018 3:49:10 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120149
Message:

ValidationKit: More python 3 adjustments.

Location:
trunk/src/VBox/ValidationKit/tests/api
Files:
2 edited

Legend:

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

    r69445 r70521  
    175175        #
    176176        try:
    177             os.mkdir(sTmpDir, 0x1ed); # 0755 = 0x1ed
     177            os.mkdir(sTmpDir, 0o755);
    178178            oTarFile = tarfile.open(sOva, 'r:*');
    179179            oTarFile.extractall(sTmpDir);
  • trunk/src/VBox/ValidationKit/tests/api/tdMoveMedium.py

    r69111 r70521  
    136136            sNewLoc = os.path.join(sOrigLoc, 'newLocation/')
    137137
    138             os.makedirs(sNewLoc, 0775);
     138            os.makedirs(sNewLoc, 0o775);
    139139
    140140            aListOfAttach = oVM.getMediumAttachmentsOfController(sController)
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