mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #20780 from jfindlay/fix_mongolog
revert dict comprehension back to loop for py-2.6
This commit is contained in:
commit
6fedc52a9a
1 changed files with 3 additions and 4 deletions
|
@ -82,10 +82,9 @@ def setup_handlers():
|
|||
'write_concern': 'w'
|
||||
}
|
||||
|
||||
config_opts = {
|
||||
arg_name: __opts__[handler_id].get(config_opt)
|
||||
for config_opt, arg_name in config_fields.iteritems()
|
||||
}
|
||||
config_opts = {}
|
||||
for config_opt, arg_name in config_fields.iteritems():
|
||||
config_opts[arg_name] = __opts__[handler_id].get(config_opt)
|
||||
|
||||
config_opts['level'] = LOG_LEVELS[
|
||||
__opts__[handler_id].get(
|
||||
|
|
Loading…
Add table
Reference in a new issue