Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.py @ 3859:8c24b6fd5866
fix errors spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 10 Dec 2006 19:41:57 +0100 |
parents | b9d3e12da485 |
children | abaee83ce0a6 |
line wrap: on
line diff
--- a/mercurial/changegroup.py Sun Dec 10 16:24:21 2006 +0100 +++ b/mercurial/changegroup.py Sun Dec 10 19:41:57 2006 +0100 @@ -99,7 +99,7 @@ if cleanup is not None: os.unlink(cleanup) -def readbundle(fh): +def readbundle(fh, fname): header = fh.read(6) if not header.startswith("HG"): raise util.Abort(_("%s: not a Mercurial bundle file") % fname)