diff options
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-lint | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-lint b/src/sbin/bcfg2-lint index 103ff3555..9ccee1e1b 100755 --- a/src/sbin/bcfg2-lint +++ b/src/sbin/bcfg2-lint @@ -58,10 +58,10 @@ def run_plugin(plugin, plugin_name, setup=None, errorhandler=None, def get_errorhandler(setup): """ get a Bcfg2.Server.Lint.ErrorHandler object """ if setup.cfp.has_section("errors"): - conf = dict(setup.cfp.items("errors")) + errors = dict(setup.cfp.items("errors")) else: - conf = None - return Bcfg2.Server.Lint.ErrorHandler(config=conf) + errors = None + return Bcfg2.Server.Lint.ErrorHandler(errors=errors) def load_server(setup): |