From 911c807dc84cf74b61719471798b5f21116c4018 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 10 Jan 2009 18:18:45 +0000 Subject: 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 --- src/lib/Server/Plugins/Probes.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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\S+)(.(?P[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 -- cgit v1.2.3-1-g7c22