Fix test failure - change "set += list" to "set.update(list)"

This commit is contained in:
Colin Evans 2017-01-18 13:38:10 -05:00
parent 1a55e55998
commit 3807e2c2d9

View File

@ -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']: