VirtualBox

Ignore:
Timestamp:
Jan 10, 2018 3:49:10 PM (7 years ago)
Author:
vboxsync
Message:

ValidationKit: More python 3 adjustments.

File:
1 edited

Legend:

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

    r70517 r70521  
    5858except: __file__ = sys.argv[0];
    5959g_ksValidationKitDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)));
     60
     61# Python 3 hacks:
     62if sys.version_info[0] >= 3:
     63    long = int;     # pylint: disable=redefined-builtin,invalid-name
    6064
    6165
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