diff -r 2e043c9a38a6 -r cff3c58a5766 mercurial/util.py --- 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():