Import plugins sorted
- More reproducible - Should help to avoid random changes in kibot-check
This commit is contained in:
parent
68456a0032
commit
25a204da3f
|
|
@ -68,7 +68,7 @@ def _load_actions(path, load_internals=False):
|
|||
lst += glob(os.path.join(path, 'var_*.py')) + glob(os.path.join(path, 'fil_*.py'))
|
||||
if load_internals:
|
||||
lst += [os.path.join(path, 'globals.py')]
|
||||
for p in lst:
|
||||
for p in sorted(lst):
|
||||
name = os.path.splitext(os.path.basename(p))[0]
|
||||
logger.debug("- Importing "+name)
|
||||
_import(name, p)
|
||||
|
|
|
|||
Loading…
Reference in New Issue