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:
Erik Johnson 2014-09-17 14:42:45 -05:00
commit 27bea519c9

View File

@ -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: