Changeset 71158 in vbox for trunk/src/VBox/ValidationKit/common/utils.py
- Timestamp:
- Feb 28, 2018 3:48:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r71157 r71158 74 74 """ 75 75 sStreamEncoding = sys.stdout.encoding; 76 if sStreamEncoding is None: sStreamEncoding = 'US-ASCII'; # files, pipes and such on 2.x 76 77 if sStreamEncoding == 'UTF-8' or not isinstance(sString, unicode): 77 78 print(sString); … … 84 85 """ 85 86 sStreamEncoding = sys.stderr.encoding; 87 if sStreamEncoding is None: sStreamEncoding = 'US-ASCII'; # files, pipes and such on 2.x 86 88 if sStreamEncoding == 'UTF-8' or not isinstance(sString, unicode): 87 89 print(sString, file = sys.stderr);
Note:
See TracChangeset
for help on using the changeset viewer.