summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/FileMonitor.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-06-14 20:49:59 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-06-14 20:49:59 +0000
commit0c5d30e131ad5262b19170d25f328ca1154e3407 (patch)
treeb8f1053db0a5bbba08845abf5c85b5c960ba07b1 /src/lib/Server/FileMonitor.py
parent8e3c40dc2cc0d22eb9ad3f4863fbc40195eec6c6 (diff)
downloadbcfg2-0c5d30e131ad5262b19170d25f328ca1154e3407.tar.gz
bcfg2-0c5d30e131ad5262b19170d25f328ca1154e3407.tar.bz2
bcfg2-0c5d30e131ad5262b19170d25f328ca1154e3407.zip
Cfg: Fix hardwired filename ignores (Fixes Ticket #619)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5280 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/FileMonitor.py')
-rw-r--r--src/lib/Server/FileMonitor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/FileMonitor.py b/src/lib/Server/FileMonitor.py
index 4b980a098..2ef0bcec9 100644
--- a/src/lib/Server/FileMonitor.py
+++ b/src/lib/Server/FileMonitor.py
@@ -10,8 +10,8 @@ def ShouldIgnore(event):
# FIXME should move event suppression out of the core
if event.filename.split('/')[-1] == '.svn':
return True
- if event.filename.endswith('~') or event.filename.endswith('.tmp') \
- or event.filename.startswith('#') or event.filename.startswith('.#'):
+ if event.filename.endswith('~') or \
+ event.filename.startswith('#') or event.filename.startswith('.#'):
#logger.error("Suppressing event for file %s" % (event.filename))
return True
return False