# HG changeset patch # User Benoit Boissinot # Date 1159816231 -7200 # Node ID 35d61e6531742c6fec245e01300a8c403a7f8baf # Parent 3bd3a98b4921001735638360be4552c2f4259740 fix warnings from pychecker diff -r 3bd3a98b4921 -r 35d61e653174 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Mon Oct 02 09:58:03 2006 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Mon Oct 02 21:10:31 2006 +0200 @@ -210,7 +210,6 @@ 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 @@ def filelog(self, fctx): f = fctx.path() - cl = self.repo.changelog fl = fctx.filelog() count = fl.count() @@ -505,7 +503,6 @@ break; c = cl.read(n) - m = c[0] t = c[2] yield self.t("tagentry", diff -r 3bd3a98b4921 -r 35d61e653174 mercurial/patch.py --- a/mercurial/patch.py Mon Oct 02 09:58:03 2006 -0700 +++ b/mercurial/patch.py Mon Oct 02 21:10:31 2006 +0200 @@ -309,7 +309,6 @@ copies = [] removes = [] cfiles = patches.keys() - copts = {'after': False, 'force': False} cwd = repo.getcwd() if cwd: cfiles = [util.pathto(cwd, f) for f in patches.keys()]