diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/Duplicates.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Lint/Duplicates.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Lint/Duplicates.py b/src/lib/Bcfg2/Server/Lint/Duplicates.py index abc581c4f..ee6b7a2e6 100644 --- a/src/lib/Bcfg2/Server/Lint/Duplicates.py +++ b/src/lib/Bcfg2/Server/Lint/Duplicates.py @@ -22,7 +22,8 @@ class Duplicates(Bcfg2.Server.Lint.ServerPlugin): if self.clients_xdata is not None: self.duplicate_clients() - def Errors(self): + @classmethod + def Errors(cls): return {"broken-xinclude-chain":"warning", "duplicate-client":"error", "duplicate-group":"error", |