VirtualBox

Ignore:
Timestamp:
Feb 20, 2023 1:10:54 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155951
Message:

ValKit: pylint 2.16.2: checks for file

Location:
trunk/src/VBox/ValidationKit/testdriver
Files:
3 edited

Legend:

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

    r98103 r98651  
    6565
    6666# Figure where we are.
    67 try:    __file__
     67try:    __file__                            # pylint: disable=used-before-assignment
    6868except: __file__ = sys.argv[0];
    6969g_ksValidationKitDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)));
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r98269 r98651  
    5353
    5454# Figure out where the validation kit lives and make sure it's in the path.
    55 try:    __file__
     55try:    __file__                            # pylint: disable=used-before-assignment
    5656except: __file__ = sys.argv[0];
    5757g_ksValidationKitDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)));
  • trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py

    r98103 r98651  
    5353
    5454# Only the main script needs to modify the path.
    55 try:    __file__
     55try:    __file__                            # pylint: disable=used-before-assignment
    5656except: __file__ = sys.argv[0];
    5757g_ksValidationKitDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)));
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