summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/FileMonitor.py4
-rw-r--r--src/lib/Server/Plugin.py2
2 files changed, 3 insertions, 3 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
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index b127a8e34..4484a655b 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -519,7 +519,7 @@ class SpecificData(object):
class EntrySet:
'''Entry sets deal with the host- and group-specific entries'''
- ignore = re.compile("^(\.#.*|.*~|\\..*\\.(tmp|sw[px]))$")
+ ignore = re.compile("^(\.#.*|.*~|\\..*\\.(sw[px]))$")
def __init__(self, basename, path, entry_type, encoding):
self.path = path
self.entry_type = entry_type