Changeset 103724 in vbox for trunk/src/VBox/ValidationKit/common
- Timestamp:
- Mar 7, 2024 10:22:33 AM (9 months ago)
- File:
-
- 1 edited
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:
Note:
See TracChangeset
for help on using the changeset viewer.