diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/Bundles.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Lint/Bundles.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Bundles.py b/src/lib/Bcfg2/Server/Lint/Bundles.py index 44626b462..e6b6307f2 100644 --- a/src/lib/Bcfg2/Server/Lint/Bundles.py +++ b/src/lib/Bcfg2/Server/Lint/Bundles.py @@ -14,7 +14,8 @@ class Bundles(Bcfg2.Server.Lint.ServerPlugin): Bcfg2.Server.Plugins.SGenshi.SGenshiTemplateFile): self.bundle_names(bundle) - def Errors(self): + @classmethod + def Errors(cls): return {"bundle-not-found":"error", "inconsistent-bundle-name":"warning"} |