diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Lint/RequiredAttrs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Lint/RequiredAttrs.py b/src/lib/Server/Lint/RequiredAttrs.py index e7ac2da37..9f00a4e24 100644 --- a/src/lib/Server/Lint/RequiredAttrs.py +++ b/src/lib/Server/Lint/RequiredAttrs.py @@ -29,7 +29,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin): """ check package sources for Source entries with missing attrs """ if 'Packages' in self.core.plugins: for source in self.core.plugins['Packages'].sources: - if isinstance(source, Bcfg2.Server.Plugin.Packages.PulpSource): + if isinstance(source, Bcfg2.Server.Plugins.Packages.PulpSource): if not source.id: self.LintError("required-attrs-missing", "The required attribute id is missing " @@ -44,7 +44,7 @@ class RequiredAttrs(Bcfg2.Server.Lint.ServerPlugin): self.RenderXML(source.xsource))) if (not isinstance(source, - Bcfg2.Server.Plugin.Packages.APTSource) and + Bcfg2.Server.Plugins.Packages.APTSource) and source.recommended): self.LintError("extra-attrs", "The recommended attribute is not " |