##// END OF EJS Templates
procutil: avoid `+= None` when writing to full std{err,out} descriptor on py3...
Matt Harbison -
r49958:90e56488 stable
parent child Browse files
Show More
@@ -112,7 +112,9 b' class WriteAllWrapper(object):'
112 total_to_write = len(s)
112 total_to_write = len(s)
113 total_written = 0
113 total_written = 0
114 while total_written < total_to_write:
114 while total_written < total_to_write:
115 total_written += write1(m[total_written:])
115 c = write1(m[total_written:])
116 if c:
117 total_written += c
116 return total_written
118 return total_written
117
119
118
120
General Comments 0
You need to be logged in to leave comments. Login now