summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-26 22:12:20 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-03-26 22:12:20 -0400
commitbc35aa70ab8794b73019d90a41eb252fbb80ff52 (patch)
tree3cce934901374c67c1f56d5841643028dc058ae6 /src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
parent0fae9849fd7047c299468fd6728db56d6861ee12 (diff)
downloadbcfg2-bc35aa70ab8794b73019d90a41eb252fbb80ff52.tar.gz
bcfg2-bc35aa70ab8794b73019d90a41eb252fbb80ff52.tar.bz2
bcfg2-bc35aa70ab8794b73019d90a41eb252fbb80ff52.zip
testsuite: fixed more unit test stuff
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/TemplateHelper.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/TemplateHelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py b/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
index ea7454e11..7dd15f7b5 100644
--- a/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
+++ b/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
@@ -82,7 +82,7 @@ class TemplateHelper(Bcfg2.Server.Plugin.Plugin,
Bcfg2.Server.Plugin.DirectoryBacked):
""" A plugin to provide helper classes and functions to templates """
__author__ = 'chris.a.st.pierre@gmail.com'
- ignore = re.compile("^(\.#.*|.*~|\\..*\\.(sw[px])|.*\.py[co])$")
+ ignore = re.compile(r'^(\.#.*|.*~|\..*\.(sw[px])|.*\.py[co])$')
patterns = MODULE_RE
__child__ = HelperModule