diff options
Diffstat (limited to 'python2/pyinotify.py')
-rwxr-xr-x | python2/pyinotify.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index 6b4c72a..639fa18 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -83,6 +83,9 @@ except ImportError: try: import inotify_syscalls + # As soon as inotify_syscalls are used make sure ctypes won't + # ger inadvertently be used instead. + ctypes = None except ImportError: inotify_syscalls = None |