Changeset 90740 in vbox
- Timestamp:
- Aug 19, 2021 9:42:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/txsclient.py
r90595 r90740 72 72 abStr = abData[off:(off + cchStr)]; 73 73 try: 74 return abStr.tostring().decode('utf_8'); 74 if sys.version_info < (3, 9, 0): 75 # Removed since Python 3.9. 76 sStr = abStr.tostring(); # pylint: disable=no-member 77 else: 78 sStr = abStr.tobytes(); 79 return sStr.decode('utf_8'); 75 80 except: 76 81 reporter.errorXcpt('getSZ(,%u)' % (off));
Note:
See TracChangeset
for help on using the changeset viewer.