From 67e8a0271fe02c3a3dfb73e54b7d9f0057845349 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sat, 12 Aug 2017 21:00:28 +0200 Subject: [PATCH] [doc] try fixing this ldap crap for doc building --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index aabd3ee0..8d39b9e2 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -29,7 +29,7 @@ class Mock(MagicMock): def __getattr__(cls, name): return MagicMock() -MOCK_MODULES = ['ldap'] +MOCK_MODULES = ['ldap', 'ldap.modlist'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)