retrieve explorers from explorer class and allow zero explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
73fa0e1ab7
commit
b568a5886c
1 changed files with 2 additions and 3 deletions
|
@ -60,9 +60,8 @@ class ConfigInstall:
|
||||||
def run_global_explorers(self):
|
def run_global_explorers(self):
|
||||||
"""Run global explorers"""
|
"""Run global explorers"""
|
||||||
log.info("Running global explorers")
|
log.info("Running global explorers")
|
||||||
explorers = self.path.list_global_explorers()
|
|
||||||
if(len(explorers) == 0):
|
explorers = cdist.core.GlobalExplorer.list_explorers()
|
||||||
raise cdist.Error("No explorers found in " + self.path.global_explorer_dir)
|
|
||||||
|
|
||||||
self.path.transfer_global_explorers()
|
self.path.transfer_global_explorers()
|
||||||
for explorer in explorers:
|
for explorer in explorers:
|
||||||
|
|
Loading…
Reference in a new issue