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