summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Lint/Bundles.py
diff options
context:
space:
mode:
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):