diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-12 14:51:19 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-01-12 14:51:31 -0500 |
commit | 8c9b825595174455242b3b2f6ca96ddcbdcfff2e (patch) | |
tree | d718062101f57973e2913dbb6c3e6919e26eac21 /src/lib/Server | |
parent | 7f9e958f70d4d82bf2a683ffb93a6da2b8fe2b82 (diff) | |
download | bcfg2-8c9b825595174455242b3b2f6ca96ddcbdcfff2e.tar.gz bcfg2-8c9b825595174455242b3b2f6ca96ddcbdcfff2e.tar.bz2 bcfg2-8c9b825595174455242b3b2f6ca96ddcbdcfff2e.zip |
only include .xml files in Properties
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Properties.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py index 58f7215c9..9b44942cd 100644 --- a/src/lib/Server/Plugins/Properties.py +++ b/src/lib/Server/Plugins/Properties.py @@ -1,4 +1,5 @@ import os +import re import sys import copy import logging @@ -49,6 +50,7 @@ class PropertyFile(Bcfg2.Server.Plugin.StructFile): class PropDirectoryBacked(Bcfg2.Server.Plugin.DirectoryBacked): __child__ = PropertyFile + patterns = re.compile(r'.*\.xml$') class Properties(Bcfg2.Server.Plugin.Plugin, |