mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Allow the docs to build by faking libcloud's __version__
attribute.
This commit is contained in:
parent
1be9c6aa64
commit
75bafbd6db
@ -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