mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix test failure - change "set += list" to "set.update(list)"
This commit is contained in:
parent
1a55e55998
commit
3807e2c2d9
@ -3184,7 +3184,7 @@ def recurse(name,
|
|||||||
|
|
||||||
if clean:
|
if clean:
|
||||||
# TODO: Use directory(clean=True) instead
|
# TODO: Use directory(clean=True) instead
|
||||||
keep += _gen_keep_files(name, require)
|
keep.update(_gen_keep_files(name, require))
|
||||||
removed = _clean_dir(name, list(keep), exclude_pat)
|
removed = _clean_dir(name, list(keep), exclude_pat)
|
||||||
if removed:
|
if removed:
|
||||||
if __opts__['test']:
|
if __opts__['test']:
|
||||||
|
Loading…
Reference in New Issue
Block a user