##// END OF EJS Templates
hgweb: fix errors spotted by pychecker
Benoit Boissinot -
r3130:2e043c9a default
parent child Browse files
Show More
@@ -30,9 +30,9 b' class _error_logger(object):'
30 self.handler = handler
30 self.handler = handler
31 def flush(self):
31 def flush(self):
32 pass
32 pass
33 def write(str):
33 def write(self, str):
34 self.writelines(str.split('\n'))
34 self.writelines(str.split('\n'))
35 def writelines(seq):
35 def writelines(self, seq):
36 for msg in seq:
36 for msg in seq:
37 self.handler.log_error("HG error: %s", msg)
37 self.handler.log_error("HG error: %s", msg)
38
38
General Comments 0
You need to be logged in to leave comments. Login now