##// END OF EJS Templates
subprocessio: use safe b.read() and prevent potential valueErrors
marcink -
r371:7da6cab7 default
parent child Browse files
Show More
@@ -141,7 +141,12 b' class InputStreamChunker(Thread):'
141
141
142 t.append(b)
142 t.append(b)
143 da.set()
143 da.set()
144
145 try:
144 b = s.read(cs)
146 b = s.read(cs)
147 except ValueError:
148 b = ''
149
145 self.EOF.set()
150 self.EOF.set()
146 da.set() # for cases when done but there was no input.
151 da.set() # for cases when done but there was no input.
147
152
General Comments 0
You need to be logged in to leave comments. Login now