mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #15879 from s0undt3ch/hotfix/protect-from-older-libcloud
Allow the docs to build by faking libcloud's `__version__` attribute.
This commit is contained in:
commit
27bea519c9
@ -111,6 +111,9 @@ MOCK_MODULES = [
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = Mock()
|
||||
|
||||
# Define a fake version attribute for libcloud so docs build as supposed
|
||||
sys.modules['libcloud'].__version__ = '0.0.0'
|
||||
|
||||
|
||||
# -- Add paths to PYTHONPATH ---------------------------------------------------
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user