diff options
| author | Mats Wichmann <mats@linux.com> | 2018-11-10 17:58:27 (GMT) |
|---|---|---|
| committer | Mats Wichmann <mats@linux.com> | 2018-12-01 16:28:01 (GMT) |
| commit | 776672af607e359468dc87e7efcca28260f70a7d (patch) | |
| tree | 297045786218215b4587244415e8274d9f1951ae /test/Java/java_version_image/src6/TestSCons.java | |
| parent | 1519a7d40f5e65c1c1c896c9c96456f8364c6907 (diff) | |
| download | SCons-776672af607e359468dc87e7efcca28260f70a7d.zip SCons-776672af607e359468dc87e7efcca28260f70a7d.tar.gz SCons-776672af607e359468dc87e7efcca28260f70a7d.tar.bz2 | |
For PR #3238: use a try block for str/bytes problem
The previous fix changed a failing line that printed something that
could be bytes in Py3 to do a decode. But it turned out that value can
be either str or bytes and the change failed the sconsign tests.
Use a try block instead of unconditionally calling decode.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src6/TestSCons.java')
0 files changed, 0 insertions, 0 deletions
