mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Update warning logging information
This commit is contained in:
parent
bc99686d66
commit
c1a2bd740a
@ -207,10 +207,10 @@ def get_ext_tops(config):
|
||||
log.warning('Module %s has missing configuration', dep)
|
||||
continue
|
||||
elif mod.endswith('.py') and not os.path.isfile(mod):
|
||||
log.warning('Module %s is not a file or does not exist', mod)
|
||||
log.warning('Module %s configured with not a file or does not exist: %s', dep, mod)
|
||||
continue
|
||||
elif not mod.endswith('.py') and not os.path.isfile(os.path.join(mod, '__init__.py')):
|
||||
log.warning('Module %s is not a Python importable module', mod)
|
||||
log.warning('Module %s is not a Python importable module with %s', dep, mod)
|
||||
continue
|
||||
tops.append(mod)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user