summaryrefslogtreecommitdiff
path: root/python2/pyinotify.py
diff options
context:
space:
mode:
Diffstat (limited to 'python2/pyinotify.py')
-rwxr-xr-xpython2/pyinotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py
index 5254461..b5f420a 100755
--- a/python2/pyinotify.py
+++ b/python2/pyinotify.py
@@ -113,7 +113,7 @@ def load_libc():
l = None
try:
l = ctypes.util.find_library('c')
- except OSError, IOError:
+ except (OSError, IOError):
pass # Will attemp to load it with None anyway.
if sys.version_info[0] >= 2 and sys.version_info[1] >= 6: