VirtualBox

Changeset 90615 in vbox


Ignore:
Timestamp:
Aug 11, 2021 7:26:49 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146226
Message:

ValKit: More Python 3.9 API changes needed (array.array.tostring() -> .tobytes()) bugref:10079

File:
1 edited

Legend:

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

    r90595 r90615  
    12251225                    if sys.version_info < (3, 9, 0):
    12261226                        # Removed since Python 3.9.
    1227                         sText.tostring(); # pylint: disable=no-member
     1227                        sText = sText.tostring(); # pylint: disable=no-member
    12281228                    else:
    1229                         sText.tobytes();
     1229                        sText = sText.tobytes();
    12301230                except:
    12311231                    pass;
     
    12391239            sTsPrf  = utils.getTimePrefix();
    12401240            sCaller = utils.getCallerName();
     1241            import pdb; pdb.set_trace();
    12411242            asLines = sText.splitlines();
    12421243            for sLine in asLines:
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