Merge "python3: return str from read_stdout"

This commit is contained in:
Jenkins 2017-05-27 01:52:26 +00:00 committed by Gerrit Code Review
commit f8c4c6b7f4
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class RootHelperProcess(subprocess.Popen):
utils.execute(['kill', '-%d' % sig, pid], run_as_root=True)
def read_stdout(self, timeout=None):
return self._read_stream(self.stdout, timeout)
return self._read_stream(self.stdout, timeout).decode('utf-8')
@staticmethod
def _read_stream(stream, timeout):