Mercurial > hg-stable
diff mercurial/revlog.py @ 9679:a1943c2a4661
pychecker: remove unused local variables
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 31 Oct 2009 17:04:46 +0100 |
parents | 1c4e4004f3a6 |
children | a7d11deb47dd 27267b1f68b4 |
line wrap: on
line diff
--- a/mercurial/revlog.py Sat Oct 31 16:56:58 2009 +0100 +++ b/mercurial/revlog.py Sat Oct 31 17:04:46 2009 +0100 @@ -466,7 +466,7 @@ if i: try: d = self._io.parseindex(f, i, self._inline) - except (ValueError, IndexError), e: + except (ValueError, IndexError): raise RevlogError(_("index %s is corrupted") % (self.indexfile)) self.index, self.nodemap, self._chunkcache = d if not self._chunkcache: