Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/hgweb/hgweb_mod.py @ 3126:cff3c58a5766
fix warnings spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 18 Sep 2006 17:43:31 +0200 |
parents | 27da6dddd0ee |
children | 3466bd7b9754 |
comparison
equal
deleted
inserted
replaced
3125:2e043c9a38a6 | 3126:cff3c58a5766 |
---|---|
823 resp = resp.getvalue() | 823 resp = resp.getvalue() |
824 req.httphdr("application/mercurial-0.1", length=len(resp)) | 824 req.httphdr("application/mercurial-0.1", length=len(resp)) |
825 req.write(resp) | 825 req.write(resp) |
826 | 826 |
827 def do_between(self, req): | 827 def do_between(self, req): |
828 nodes = [] | |
829 if req.form.has_key('pairs'): | 828 if req.form.has_key('pairs'): |
830 pairs = [map(bin, p.split("-")) | 829 pairs = [map(bin, p.split("-")) |
831 for p in req.form['pairs'][0].split(" ")] | 830 for p in req.form['pairs'][0].split(" ")] |
832 resp = cStringIO.StringIO() | 831 resp = cStringIO.StringIO() |
833 for b in self.repo.between(pairs): | 832 for b in self.repo.between(pairs): |