mercurial/hgweb/server.py
changeset 41430 52a4a3e7cc6a
parent 41428 4045ab21945a
child 41462 9b2b8794f801
equal deleted inserted replaced
41429:7df10ea7a5b8 41430:52a4a3e7cc6a
    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