diff -r e2b1de5fee04 -r a1943c2a4661 mercurial/revlog.py --- 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: