summaryrefslogtreecommitdiff
path: root/python3/pyinotify.py
diff options
context:
space:
mode:
Diffstat (limited to 'python3/pyinotify.py')
-rwxr-xr-xpython3/pyinotify.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python3/pyinotify.py b/python3/pyinotify.py
index c3b7626..c3de72a 100755
--- a/python3/pyinotify.py
+++ b/python3/pyinotify.py
@@ -1593,8 +1593,6 @@ class WatchManager:
If |path| is 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.
@@ -1660,9 +1658,6 @@ class WatchManager:
err = err % (rpath, wd, STRERRNO())
if quiet:
log.error(err)
- if errno.ENOSPC == ctypes.get_errno():
- # In this case return immediately
- return ret_
else:
raise WatchManagerError(err, ret_)
else: