mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
actually skip bad/broken module files found
This commit is contained in:
parent
98c149859a
commit
b0786a1845
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ class PluginLoader:
|
||||||
obj = getattr(self._module_cache[path], self.class_name)
|
obj = getattr(self._module_cache[path], self.class_name)
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_unicode(e)))
|
display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_unicode(e)))
|
||||||
|
continue
|
||||||
|
|
||||||
if self.base_class:
|
if self.base_class:
|
||||||
# The import path is hardcoded and should be the right place,
|
# The import path is hardcoded and should be the right place,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue