diff contrib/casesmash.py @ 19378:9de689d20230

cleanup: drop unused variables and an unused import
author Simon Heimberg <simohe@besonet.ch>
date Mon, 01 Jul 2013 20:48:56 +0200
parents ff1586a3adc5
children 42a7301fb4d5
line wrap: on
line diff
--- 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)