mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pylint cosmetics.
This commit is contained in:
parent
0c0d10d18f
commit
2c3ae0b6c9
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ def options_present(name, sections=None, separator='=', strict=False):
|
|||
options_updated = __salt__['ini.set_option'](name, options, separator)
|
||||
changes.update(options_updated)
|
||||
if strict:
|
||||
for opt_to_remove in set(original_top_level_opts.keys()).difference(options.keys()):
|
||||
for opt_to_remove in set(original_top_level_opts).difference(options):
|
||||
if __opts__['test']:
|
||||
ret['comment'] += 'Removed key {0}.\n'.format(opt_to_remove)
|
||||
ret['result'] = None
|
||||
|
|
Loading…
Add table
Reference in a new issue