Changeset 90595 in vbox for trunk/src/VBox/ValidationKit/tests/storage/remoteexecutor.py
- Timestamp:
- Aug 10, 2021 12:49:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/storage/remoteexecutor.py
r82968 r90595 64 64 if isinstance(sText, array.array): 65 65 try: 66 return str(sText.tostring()); # tostring() returns bytes with python3. 66 if sys.version_info < (3, 9, 0): 67 # Removed since Python 3.9. 68 return str(sText.tostring()); # pylint: disable=no-member 69 else: 70 return str(sText.tobytes()); 67 71 except: 68 72 pass; … … 301 305 302 306 return fRc; 303
Note:
See TracChangeset
for help on using the changeset viewer.