mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
check w/ low['name'] only
This commit is contained in:
parent
fe43c66997
commit
65143dee8d
@ -349,7 +349,7 @@ def _gen_keep_files(name, require):
|
||||
required_files = [comp for comp in require if 'file' in comp]
|
||||
for comp in required_files:
|
||||
for low in __lowstate__:
|
||||
if comp['file'] in (low['__id__'], low['name']):
|
||||
if low['name'] == comp['file']:
|
||||
fn = low['name']
|
||||
if os.path.isdir(comp['file']):
|
||||
if _is_child(comp['file'], name):
|
||||
|
Loading…
Reference in New Issue
Block a user