##// END OF EJS Templates
py3: force hgweb.server error log to internally write unicode...
Matt Harbison -
r41475:52a4a3e7 default
parent child Browse files
Show More
@@ -54,7 +54,7 b' class _error_logger(object):'
54 self.writelines(str.split('\n'))
54 self.writelines(str.split('\n'))
55 def writelines(self, seq):
55 def writelines(self, seq):
56 for msg in seq:
56 for msg in seq:
57 self.handler.log_error("HG error: %s", msg)
57 self.handler.log_error(r"HG error: %s", encoding.strfromlocal(msg))
58
58
59 class _httprequesthandler(httpservermod.basehttprequesthandler):
59 class _httprequesthandler(httpservermod.basehttprequesthandler):
60
60
General Comments 0
You need to be logged in to leave comments. Login now