Changeset 84246 in vbox for trunk/src/VBox
- Timestamp:
- May 11, 2020 10:36:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r84244 r84246 2257 2257 reporter.log2('Process (PID %d) got %d bytes of %s data (type: %s)' 2258 2258 % (iPid, len(abBuf), sFdNm, type(abBuf))); 2259 if isinstance(abBuf, str): 2260 pass; 2259 sBuf = ''; 2261 2260 if sys.version_info >= (2, 7): 2262 2261 if isinstance(abBuf, memoryview): ## @todo Why is this happening? 2263 2262 abBuf = abBuf.tobytes(); 2264 for sLine in abBuf.decode("utf-8").splitlines(): 2263 sBuf = abBuf.decode("utf-8"); 2264 if isinstance(abBuf, buffer): 2265 sBuf = abBuf; 2266 for sLine in sBuf.splitlines(): 2265 2267 reporter.log('%s: %s' % (sFdNm, sLine)); 2266 2268 acbFdOut[iFd] += len(abBuf);
Note:
See TracChangeset
for help on using the changeset viewer.