Mercurial > hg
changeset 3130:2e043c9a38a6
hgweb: fix errors spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 18 Sep 2006 17:32:28 +0200 |
parents | f145d04899d2 |
children | cff3c58a5766 |
files | mercurial/hgweb/server.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/server.py Mon Sep 18 12:01:32 2006 +0200 +++ b/mercurial/hgweb/server.py Mon Sep 18 17:32:28 2006 +0200 @@ -30,9 +30,9 @@ self.handler = handler def flush(self): pass - def write(str): + def write(self, str): self.writelines(str.split('\n')) - def writelines(seq): + def writelines(self, seq): for msg in seq: self.handler.log_error("HG error: %s", msg)