# HG changeset patch # User Drew Perttula # Date 2017-06-10 07:15:07 # Node ID 8603ab0b9fa8b79822f9979e134dc5c40868d1f4 # Parent 7b3f08db8f667579224ab3c563ffd986150d13b2 rdfdb log noise Ignore-this: 6a8e97bae341002400337d12cc12532d diff --git a/bin/rdfdb b/bin/rdfdb --- a/bin/rdfdb +++ b/bin/rdfdb @@ -206,6 +206,9 @@ class WatchedFiles(object): 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)