mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Raise error on missing piece of syncfiles entry
This commit is contained in:
parent
456b43eeb7
commit
3f90c35bc9
@ -205,6 +205,8 @@ def stage_ent(currmap, ent, targdir, appendexist=False):
|
||||
allfents = ent.split()
|
||||
for tmpent in allfents:
|
||||
fents = glob.glob(tmpent)
|
||||
if not fents:
|
||||
raise Exception('No matching files for "{}"'.format(tmpent))
|
||||
everyfent.extend(fents)
|
||||
if not everyfent:
|
||||
raise Exception('No matching files for "{}"'.format(ent))
|
||||
|
Loading…
Reference in New Issue
Block a user