diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-30 10:22:02 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-01-17 10:41:27 -0500 |
commit | 0fc1f472a0fb18911bde1cb99f03142681804476 (patch) | |
tree | c957495030e716a8d950dba803b15dc01428babc /src/lib/Bcfg2/Server/Lint/Genshi.py | |
parent | 78dfedb4b450005246508cea08874637fcc86885 (diff) | |
download | bcfg2-0fc1f472a0fb18911bde1cb99f03142681804476.tar.gz bcfg2-0fc1f472a0fb18911bde1cb99f03142681804476.tar.bz2 bcfg2-0fc1f472a0fb18911bde1cb99f03142681804476.zip |
removed deprecated plugins: TGenshi, TCheetah, Account, Hostbase, Snapshots, Statistics, Editor
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/Genshi.py')
-rwxr-xr-x | src/lib/Bcfg2/Server/Lint/Genshi.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Genshi.py b/src/lib/Bcfg2/Server/Lint/Genshi.py index 18b4ae28a..437e69d82 100755 --- a/src/lib/Bcfg2/Server/Lint/Genshi.py +++ b/src/lib/Bcfg2/Server/Lint/Genshi.py @@ -11,10 +11,9 @@ class Genshi(Bcfg2.Server.Lint.ServerPlugin): def Run(self): """ run plugin """ loader = genshi.template.TemplateLoader() - for plugin in ['Cfg', 'TGenshi']: - if plugin in self.core.plugins: - self.check_files(self.core.plugins[plugin].entries, - loader=loader) + if 'Cfg' in self.core.plugins: + self.check_files(self.core.plugins['Cfg'].entries, + loader=loader) @classmethod def Errors(cls): |