diff options
Diffstat (limited to 'docs/source/api')
-rw-r--r-- | docs/source/api/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/api/conf.py b/docs/source/api/conf.py index 0c36a73f..348a8b6e 100644 --- a/docs/source/api/conf.py +++ b/docs/source/api/conf.py @@ -26,7 +26,7 @@ class Mock(object): return Mock() @classmethod - def __getattr__(self, name): + def __getattr__(cls, name): return Mock() if name not in ('__file__', '__path__') else '/dev/null' MOCK_MODULES = ['notmuch', 'notmuch.globals', |