commit b18ba306b7c7f07035a5ef7125afd664e2cdb0e8 Author: Isis Lovecruft isis@torproject.org Date: Tue Nov 26 12:42:30 2013 +0000
Also mock ipaddr module for doc builds. --- doc/sphinx/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/sphinx/source/conf.py b/doc/sphinx/source/conf.py index 49d5305..4011deb 100644 --- a/doc/sphinx/source/conf.py +++ b/doc/sphinx/source/conf.py @@ -65,7 +65,7 @@ class Mock(object): else: return Mock()
-MOCK_MODULES = ['pygpgme'] +MOCK_MODULES = ['pygpgme', 'ipaddr'] for mod_name in MOCK_MODULES: sys.modules[mod_name] = Mock()