Mercurial > code > home > repos > light9
changeset 1642:8603ab0b9fa8
rdfdb log noise
Ignore-this: 6a8e97bae341002400337d12cc12532d
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 10 Jun 2017 07:15:07 +0000 |
parents | 7b3f08db8f66 |
children | 77eaccba654e |
files | bin/rdfdb |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/rdfdb Sat Jun 10 07:14:29 2017 +0000 +++ b/bin/rdfdb Sat Jun 10 07:15:07 2017 +0000 @@ -206,6 +206,9 @@ def dirChange(self, watch, path, mask): if mask & IN_CREATE: + if path.path.endswith(('~', '.swp', 'swx', '.rdfdb-temp')): + return + log.debug("%s created; consider adding a watch", path) self.watchFile(path.path)