a desactivate service means that activate not exists
This commit is contained in:
parent
96e392cfd8
commit
79a7950b0b
|
@ -427,8 +427,7 @@ class CreoleTemplateEngine:
|
||||||
filename = fill['source']
|
filename = fill['source']
|
||||||
if not isfile(join(distrib_dir, filename)):
|
if not isfile(join(distrib_dir, filename)):
|
||||||
raise FileNotFound(_(f"File {filename} does not exist."))
|
raise FileNotFound(_(f"File {filename} does not exist."))
|
||||||
print(fill)
|
if fill.get('activate', False):
|
||||||
if fill['activate']:
|
|
||||||
self.instance_file(fill, current_container)
|
self.instance_file(fill, current_container)
|
||||||
else:
|
else:
|
||||||
log.debug(_("Instantiation of file '{filename}' disabled"))
|
log.debug(_("Instantiation of file '{filename}' disabled"))
|
||||||
|
|
Loading…
Reference in New Issue