Mercurial > hg > mercurial-crew-with-dirclash
changeset 3223:35d61e653174
fix warnings from pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 02 Oct 2006 21:10:31 +0200 |
parents | 3bd3a98b4921 |
children | 394ac87f3b74 |
files | mercurial/hgweb/hgweb_mod.py mercurial/patch.py |
diffstat | 2 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -210,7 +210,6 @@ class hgweb(object): maxchanges = shortlog and self.maxshortchanges or self.maxchanges cl = self.repo.changelog - mf = cl.read(cl.tip())[0] count = cl.count() start = max(0, pos - maxchanges + 1) end = min(count, start + maxchanges) @@ -306,7 +305,6 @@ class hgweb(object): def filelog(self, fctx): f = fctx.path() - cl = self.repo.changelog fl = fctx.filelog() count = fl.count() @@ -505,7 +503,6 @@ class hgweb(object): break; c = cl.read(n) - m = c[0] t = c[2] yield self.t("tagentry",