Mercurial > public > mercurial-scm > hg
diff mercurial/util.py @ 3131:cff3c58a5766
fix warnings spotted by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 18 Sep 2006 17:43:31 +0200 |
parents | c27d1e1798a3 |
children | e4ea47c21480 |
line wrap: on
line diff
--- a/mercurial/util.py Mon Sep 18 17:32:28 2006 +0200 +++ b/mercurial/util.py Mon Sep 18 17:43:31 2006 +0200 @@ -615,7 +615,8 @@ try: rcs.extend([os.path.join(rcdir, f) for f in os.listdir(rcdir) if f.endswith(".rc")]) - except OSError, inst: pass + except OSError: + pass return rcs def os_rcpath():