##// END OF EJS Templates
Declare byte-type
Jörgen Stenarson -
Show More
@@ -154,7 +154,7 b' def getoutput(cmd):'
154 out = process_handler(cmd, lambda p: p.communicate()[0], STDOUT)
154 out = process_handler(cmd, lambda p: p.communicate()[0], STDOUT)
155
155
156 if out is None:
156 if out is None:
157 out = ''
157 out = b''
158 return py3compat.bytes_to_str(out)
158 return py3compat.bytes_to_str(out)
159
159
160 try:
160 try:
General Comments 0
You need to be logged in to leave comments. Login now