VirtualBox

Ignore:
Timestamp:
Jun 23, 2020 8:30:13 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138793
Message:

ValKit: pylint 2.5.3 adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r84920 r84921  
    22532253                                                    abBuf = abBuf.tobytes();
    22542254                                                    sBuf  = abBuf.decode("utf-8");
    2255                                                 if isinstance(abBuf, buffer):
     2255                                            if sys.version_info <= (2, 7):
     2256                                                if isinstance(abBuf, buffer):   # pylint: disable=undefined-variable (for 3.0+)
    22562257                                                    sBuf = str(abBuf);
    22572258                                            for sLine in sBuf.splitlines():
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