summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-01-10 18:18:45 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-01-10 18:18:45 +0000
commit911c807dc84cf74b61719471798b5f21116c4018 (patch)
treebd1fbabda9bcdb2f7df6cd0ca48ec71f1c7e5485 /src
parentd2bd788bdbe51463f82fda61d32d822e8c7a396e (diff)
downloadbcfg2-911c807dc84cf74b61719471798b5f21116c4018.tar.gz
bcfg2-911c807dc84cf74b61719471798b5f21116c4018.tar.bz2
bcfg2-911c807dc84cf74b61719471798b5f21116c4018.zip
Ignore probed.xml files in the Probes directory
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5008 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Probes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Probes.py b/src/lib/Server/Plugins/Probes.py
index c27f21def..7b82183ea 100644
--- a/src/lib/Server/Plugins/Probes.py
+++ b/src/lib/Server/Plugins/Probes.py
@@ -3,6 +3,7 @@ import Bcfg2.Server.Plugin, lxml.etree, re
probe_matcher = re.compile("(?P<basename>\S+)(.(?P<mode>[GH])_\S+)?")
class ProbeSet(Bcfg2.Server.Plugin.EntrySet):
+ ignore = re.compile("^(\.#.*|.*~|\\..*\\.(tmp|sw[px])|probed\\.xml)$")
def __init__(self, path, fam, encoding, plugin_name):
fpattern = '[0-9A-Za-z_\-]+'
self.plugin_name = plugin_name