summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Properties.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-08-29 17:17:05 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-08-29 17:17:05 -0500
commit73b48c11de0692edb27b44d9fb02c9b5d5989184 (patch)
tree508f86cb45447218fd0422462ec69bc0997116ff /src/lib/Bcfg2/Server/Plugins/Properties.py
parent913d8c982b09bb40c628b634aa2cad775dbab384 (diff)
downloadbcfg2-73b48c11de0692edb27b44d9fb02c9b5d5989184.tar.gz
bcfg2-73b48c11de0692edb27b44d9fb02c9b5d5989184.tar.bz2
bcfg2-73b48c11de0692edb27b44d9fb02c9b5d5989184.zip
Properties: Ignore schema files
This prevents us from spamming the logs when the user has corresponding schema files. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Properties.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Properties.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Properties.py b/src/lib/Bcfg2/Server/Plugins/Properties.py
index 78019933a..88f075311 100644
--- a/src/lib/Bcfg2/Server/Plugins/Properties.py
+++ b/src/lib/Bcfg2/Server/Plugins/Properties.py
@@ -110,6 +110,7 @@ class PropertyFile(Bcfg2.Server.Plugin.StructFile):
class PropDirectoryBacked(Bcfg2.Server.Plugin.DirectoryBacked):
__child__ = PropertyFile
patterns = re.compile(r'.*\.xml$')
+ ignore = re.compile(r'.*\.xsd$')
class Properties(Bcfg2.Server.Plugin.Plugin,