diff options
Diffstat (limited to 'python2/pyinotify.py')
-rwxr-xr-x | python2/pyinotify.py | 2 |
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: |