mercurial/util.py
changeset 3126 cff3c58a5766
parent 3099 c27d1e1798a3
child 3145 e4ea47c21480
--- 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():