equal
deleted
inserted
replaced
52 pass |
52 pass |
53 def write(self, str): |
53 def write(self, str): |
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 |
61 url_scheme = 'http' |
61 url_scheme = 'http' |
62 |
62 |