SLIDER-584 and convert to utf8 before printing
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/05cf8982 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/05cf8982 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/05cf8982 Branch: refs/heads/feature/SLIDER-531-registry-enhancements Commit: 05cf898288af14da01a0481c2ad5d69c6fcb19dd Parents: 514d87e Author: Steve Loughran <ste...@apache.org> Authored: Thu Oct 30 13:27:05 2014 +0000 Committer: Steve Loughran <ste...@apache.org> Committed: Thu Oct 30 13:27:05 2014 +0000 ---------------------------------------------------------------------- slider-assembly/src/main/scripts/slider.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/05cf8982/slider-assembly/src/main/scripts/slider.py ---------------------------------------------------------------------- diff --git a/slider-assembly/src/main/scripts/slider.py b/slider-assembly/src/main/scripts/slider.py index e67a6ff..79933bb 100644 --- a/slider-assembly/src/main/scripts/slider.py +++ b/slider-assembly/src/main/scripts/slider.py @@ -173,6 +173,7 @@ def print_output(name, src, toStdErr): # closedown: read remainder of stream c = src.read(1) while c!="" : + c = c.decode('utf-8') out(toStdErr, c) if c == "\n": flush(toStdErr)