diff mercurial/util.py @ 3126: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
+++ b/mercurial/util.py
@@ -615,7 +615,8 @@ else:
         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():