mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
Filter out FILE_ACTION_MODIFIED for directories.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
23f4b9dbfd
commit
e845f7ff65
@ -269,6 +269,8 @@ class INotify(PollMixin):
|
||||
if self._check_stop(): return
|
||||
for info in fni:
|
||||
path = self._path.preauthChild(info.filename) # FilePath with Unicode path
|
||||
if info.action == FILE_ACTION_MODIFIED and path.isdir():
|
||||
continue
|
||||
#mask = _action_to_inotify_mask.get(info.action, IN_CHANGED)
|
||||
|
||||
def _maybe_notify(path):
|
||||
|
Loading…
Reference in New Issue
Block a user