Mercurial > code > home > repos > light9
changeset 922:4def29403ac7
more inotify masks to catch certain kinds of edits
Ignore-this: 1cd7c7a07c682cd3db7c127d09294f9e
author | drewp@bigasterisk.com |
---|---|
date | Mon, 10 Jun 2013 23:28:46 +0000 |
parents | e673bdbe0be9 |
children | 8b95d2865643 |
files | light9/rdfdb/graphfile.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/rdfdb/graphfile.py Mon Jun 10 23:14:21 2013 +0000 +++ b/light9/rdfdb/graphfile.py Mon Jun 10 23:28:46 2013 +0000 @@ -45,9 +45,7 @@ from twisted.internet.inotify import IN_CLOSE_WRITE, IN_MOVED_FROM, IN_MODIFY, IN_DELETE, IN_DELETE_SELF, IN_CHANGED - notifier.watch(FilePath(path), - mask=IN_CLOSE_WRITE | IN_MOVED_FROM | IN_DELETE | IN_DELETE_SELF | IN_CHANGED | 16383, - callbacks=[self.notify]) + notifier.watch(FilePath(path), callbacks=[self.notify]) def notify(self, notifier, filepath, mask): maskNames = humanReadableMask(mask)