summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-26 16:32:59 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-06-26 16:33:06 -0400
commit8daee5c5e0434bfc8caf8fac90bea4faf0605651 (patch)
treef140e5082d047d57d65d7f1728ac9e2b4bca5d7d /src/lib/Bcfg2
parent5565178f48063504c460de358bd1f3938fdceac5 (diff)
downloadbcfg2-8daee5c5e0434bfc8caf8fac90bea4faf0605651.tar.gz
bcfg2-8daee5c5e0434bfc8caf8fac90bea4faf0605651.tar.bz2
bcfg2-8daee5c5e0434bfc8caf8fac90bea4faf0605651.zip
TemplateHelper: fix traceback with TemplateHelper modules in place and --stdin argument to bcfg2-lint
Diffstat (limited to 'src/lib/Bcfg2')
-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 fcd73bae2..db7370f01 100644
--- a/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
+++ b/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
@@ -115,7 +115,7 @@ class TemplateHelperLint(Bcfg2.Server.Lint.ServerPlugin):
def Run(self):
for helper in self.core.plugins['TemplateHelper'].entries.values():
- if self.HandlesFile(helper):
+ if self.HandlesFile(helper.name):
self.check_helper(helper.name)
def check_helper(self, helper):