diff hgext/inotify/linux/__init__.py @ 7875:553aa0cbeab6

cleanup: drop unused assignments
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 23 Mar 2009 13:13:06 +0100
parents 39cfcef4f463
children 25e572394f5c
line wrap: on
line diff
--- a/hgext/inotify/linux/__init__.py	Mon Mar 23 13:13:02 2009 +0100
+++ b/hgext/inotify/linux/__init__.py	Mon Mar 23 13:13:06 2009 +0100
@@ -27,7 +27,7 @@
     def read_value():
         try:
             return int(open(procfs_path + '/' + name).read())
-        except OSError, err:
+        except OSError:
             return None
 
     read_value.__doc__ = '''Return the value of the %s setting from /proc.