contrib/casesmash.py
changeset 19378 9de689d20230
parent 19322 ff1586a3adc5
child 28351 42a7301fb4d5
--- a/contrib/casesmash.py	Mon Jul 01 20:48:55 2013 +0200
+++ b/contrib/casesmash.py	Mon Jul 01 20:48:56 2013 +0200
@@ -7,7 +7,7 @@
         d, base = os.path.split(fname)
         try:
             files = os.listdir(d or '.')
-        except OSError, inst:
+        except OSError:
             files = []
         if base in files:
             return f(fname, *args, **kwargs)