VirtualBox

Changeset 99113 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 22, 2023 12:56:37 PM (22 months ago)
Author:
vboxsync
Message:

ValidationKit/testdriver/base.py: Silence a pylint 'no-member' warning
on Windows for an os.geteuid() call added to a Solaris-specific section
of code since geteuid() doesn't exist on Windows.

File:
1 edited

Legend:

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

    r99103 r99113  
    720720        if sOs == 'solaris':
    721721            # Both 'coreadm -e ...' and 'svccfg apply' only work if running with all privileges.
    722             fIsRoot = os.geteuid() == 0;
     722            fIsRoot = os.geteuid() == 0; # pylint: disable=no-member
    723723            if fIsRoot is False:
    724724                return True;
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