summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Lint/Bundles.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-09-15 11:51:56 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-09-15 11:51:56 -0400
commit2f3e25ebc628a6a1c07c652143290e7606fc8d02 (patch)
treefeb369722fb93ce4c0df4cfc606e92d4546679ca /src/lib/Server/Lint/Bundles.py
parent88d41171dc7c80a7be92689a59347c0f984562dc (diff)
downloadbcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.tar.gz
bcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.tar.bz2
bcfg2-2f3e25ebc628a6a1c07c652143290e7606fc8d02.zip
fixed bugs introduced by <Group>/<Client> tags in templated bundles
Diffstat (limited to 'src/lib/Server/Lint/Bundles.py')
-rw-r--r--src/lib/Server/Lint/Bundles.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/Server/Lint/Bundles.py b/src/lib/Server/Lint/Bundles.py
index 67ae14fbd..472915cfd 100644
--- a/src/lib/Server/Lint/Bundles.py
+++ b/src/lib/Server/Lint/Bundles.py
@@ -10,11 +10,9 @@ class Bundles(Bcfg2.Server.Lint.ServerPlugin):
self.missing_bundles()
for bundle in self.core.plugins['Bundler'].entries.values():
if self.HandlesFile(bundle.name):
- if (Bcfg2.Server.Plugins.Bundler.have_genshi and
- type(bundle) is
+ if (not Bcfg2.Server.Plugins.Bundler.have_genshi or
+ type(bundle) is not
Bcfg2.Server.Plugins.SGenshi.SGenshiTemplateFile):
- self.sgenshi_groups(bundle)
- else:
self.bundle_names(bundle)
def missing_bundles(self):