From 68632f23eac6dd2fbd288616b3e2355be9ad3205 Mon Sep 17 00:00:00 2001 From: Sebastien Martini Date: Tue, 20 Mar 2012 04:13:50 +0100 Subject: Documented ExcludeFilter shortcomings. --- python2/pyinotify.py | 4 ++++ python3/pyinotify.py | 4 ++++ 2 files changed, 8 insertions(+) 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 -- cgit v1.2.1