We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0450d3f commit 76e90ddCopy full SHA for 76e90dd
src/auto_archiver/core/module.py
@@ -214,11 +214,8 @@ def load(self, config) -> BaseModule:
214
215
# check external dependencies are installed
216
def check_deps(deps, check):
217
- for dep in deps:
218
- if not len(dep):
219
- # clear out any empty strings that a user may have erroneously added
220
- continue
221
- if not check(dep):
+ for dep in filter(lambda d: len(d.strip()), deps):
+ if not check(dep.strip()):
222
logger.error(
223
f"Module '{self.name}' requires external dependency '{dep}' which is not available/setup. \
224
Have you installed the required dependencies for the '{self.name}' module? See the documentation for more information."
0 commit comments