From 8c9b825595174455242b3b2f6ca96ddcbdcfff2e Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 12 Jan 2012 14:51:19 -0500 Subject: only include .xml files in Properties --- src/lib/Server/Plugins/Properties.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') 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, -- cgit v1.2.3-1-g7c22