Changeset 103724 in vbox
- Timestamp:
- Mar 7, 2024 10:22:33 AM (7 months ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 2 edited
-
common/utils.py (modified) (4 diffs)
-
testboxscript/testboxscript_real.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r100760 r103724 323 323 324 324 elif sOs == 'win': 325 class OSVersionInfoEx(ctypes.Structure): 325 class OSVersionInfoEx(ctypes.Structure): # pylint: disable=used-before-assignment 326 326 """ OSVERSIONEX """ 327 327 kaFields = [ … … 446 446 # pylint: disable=no-member,c-extension-no-member 447 447 fAccess = 0; 448 fDisposition = win32file.OPEN_EXISTING; 448 fDisposition = win32file.OPEN_EXISTING; # pylint: disable=used-before-assignment 449 449 if 'r' in sMode or '+' in sMode: 450 450 fAccess |= win32file.GENERIC_READ; … … 480 480 if 'b' in sMode or 't' in sMode: 481 481 fOpen |= os.O_TEXT; # pylint: disable=no-member 482 fdFile = msvcrt.open_osfhandle(hDetachedFile, fOpen); 482 fdFile = msvcrt.open_osfhandle(hDetachedFile, fOpen); # pylint: disable=used-before-assignment 483 483 484 484 # Tell python to use this handle. … … 1038 1038 hProcess = win32api.OpenProcess(win32con.SYNCHRONIZE, # pylint: disable=no-member,c-extension-no-member 1039 1039 False, uPid); 1040 except pywintypes.error as oXcpt: # pylint: disable=no-member 1041 if oXcpt.winerror == winerror.ERROR_ACCESS_DENIED: 1040 except pywintypes.error as oXcpt: # pylint: disable=no-member,used-before-assignment 1041 if oXcpt.winerror == winerror.ERROR_ACCESS_DENIED: # pylint: disable=used-before-assignment 1042 1042 fRc = True; 1043 1043 except: -
trunk/src/VBox/ValidationKit/testboxscript/testboxscript_real.py
r103222 r103724 725 725 try: 726 726 if os.path.isdir(sFullName): 727 shutil.rmtree(sFullName, False, oRc.onErrorCallback); 727 shutil.rmtree(sFullName, False, oRc.onErrorCallback); # pylint: disable=deprecated-argument 728 728 else: 729 729 os.remove(sFullName);
Note:
See TracChangeset
for help on using the changeset viewer.

