summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Martini <seb@dbzteam.org>2012-03-20 04:13:50 +0100
committerSebastien Martini <seb@dbzteam.org>2012-03-20 04:13:50 +0100
commit68632f23eac6dd2fbd288616b3e2355be9ad3205 (patch)
tree4ac50cde3d59a11526b6640b564e92a6db517ab0
parentf3f89a6266186433b4869e603153396829ce6671 (diff)
downloadpyinotify-68632f23eac6dd2fbd288616b3e2355be9ad3205.tar.gz
Documented ExcludeFilter shortcomings.
-rwxr-xr-xpython2/pyinotify.py4
-rwxr-xr-xpython3/pyinotify.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py
index 74d56db..204e381 100755
--- a/python2/pyinotify.py
+++ b/python2/pyinotify.py
@@ -1593,6 +1593,10 @@ class ExcludeFilter:
^/etc/rc.*
^/etc/hostname
+ Note: it is not possible to exclude a file if its encapsulating
+ directory is itself watched. See this issue for more details
+ https://github.com/seb-m/pyinotify/issues/31
+
@param arg_lst: is either a list of patterns or a filename from which
patterns will be loaded.
@type arg_lst: list of str or str
diff --git a/python3/pyinotify.py b/python3/pyinotify.py
index 91cf532..531c9c9 100755
--- a/python3/pyinotify.py
+++ b/python3/pyinotify.py
@@ -1588,6 +1588,10 @@ class ExcludeFilter:
^/etc/rc.*
^/etc/hostname
+ Note: it is not possible to exclude a file if its encapsulating
+ directory is itself watched. See this issue for more details
+ https://github.com/seb-m/pyinotify/issues/31
+
@param arg_lst: is either a list of patterns or a filename from which
patterns will be loaded.
@type arg_lst: list of str or str