diff options
Diffstat (limited to 'python2/pyinotify.py')
-rwxr-xr-x | python2/pyinotify.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py index 6f24a3f..3ff0f05 100755 --- a/python2/pyinotify.py +++ b/python2/pyinotify.py @@ -1646,8 +1646,6 @@ class WatchManager: If |path| si already watched it is ignored, but if it is called with option rec=True a watch is put on each one of its not-watched subdirectory. - This method returns immediately on first ENOSPC error encountered - (see http://trac.dbzteam.org/pyinotify/wiki/FrequentlyAskedQuestions). @param path: Path to watch, the path can either be a file or a directory. Also accepts a sequence (list) of paths. @@ -1709,11 +1707,6 @@ class WatchManager: err = err % (rpath, wd, STRERRNO()) if quiet: log.error(err) - if (sys.version_info[0] >= 2 and - sys.version_info[1] >= 6 and - errno.ENOSPC == ctypes.get_errno()): - # In this case return immediately - return ret_ else: raise WatchManagerError(err, ret_) else: |