diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-10 18:01:22 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-10 18:01:22 -0400 |
commit | 8cb3ce64f936f5dedbcfc1935c5caf31bb682474 (patch) | |
tree | bc6cbbacd344ccdac327b4bb7337aa316ad000e0 /tools/patman/cros_subprocess.py | |
parent | 4bdb49a7487d1c46c04e3da3f1f370cde1566aea (diff) | |
parent | 9620d87259572ef21f0df60988d9a932ca673779 (diff) | |
download | u-boot-8cb3ce64f936f5dedbcfc1935c5caf31bb682474.tar.gz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'tools/patman/cros_subprocess.py')
-rw-r--r-- | tools/patman/cros_subprocess.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/patman/cros_subprocess.py b/tools/patman/cros_subprocess.py index 7c76014340..ebd4300dfd 100644 --- a/tools/patman/cros_subprocess.py +++ b/tools/patman/cros_subprocess.py @@ -190,8 +190,6 @@ class Popen(subprocess.Popen): # We will get an error on read if the pty is closed try: data = os.read(self.stdout.fileno(), 1024) - if isinstance(data, bytes): - data = data.decode('utf-8') except OSError: pass if data == "": @@ -207,8 +205,6 @@ class Popen(subprocess.Popen): # We will get an error on read if the pty is closed try: data = os.read(self.stderr.fileno(), 1024) - if isinstance(data, bytes): - data = data.decode('utf-8') except OSError: pass if data == "": |