aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2019-02-17 07:30:33 -0400
committerDavid Bremner <bremner@debian.org>2019-02-17 07:30:33 -0400
commit44862764d27d29fbfb9ded12b1112abe104fb7e1 (patch)
treef26a901f6e28185d60200c9111de30e1c15b4996 /bindings/python
parent32fb3c420a408ccfd20301f0c527c4259bf721cc (diff)
parentc3a683299d4c27d6eadaacf4fb516f73a6c69fc3 (diff)
Record notmuch (0.28.2-1) in archive suite sid
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/docs/source/conf.py13
-rw-r--r--bindings/python/docs/source/filesystem.rst2
-rw-r--r--bindings/python/docs/source/threads.rst2
-rw-r--r--bindings/python/notmuch/version.py2
4 files changed, 5 insertions, 14 deletions
diff --git a/bindings/python/docs/source/conf.py b/bindings/python/docs/source/conf.py
index 5b901c4e..8b43c5ca 100644
--- a/bindings/python/docs/source/conf.py
+++ b/bindings/python/docs/source/conf.py
@@ -13,22 +13,13 @@
import sys, os
+from unittest.mock import Mock
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0,os.path.abspath('../..'))
-class Mock(object):
- def __init__(self, *args, **kwargs):
- pass
-
- def __call__(self, *args, **kwargs):
- return Mock()
-
- @classmethod
- def __getattr__(self, name):
- return Mock() if name not in ('__file__', '__path__') else '/dev/null'
-
MOCK_MODULES = [
'ctypes',
]
diff --git a/bindings/python/docs/source/filesystem.rst b/bindings/python/docs/source/filesystem.rst
index 558c93de..13fe1194 100644
--- a/bindings/python/docs/source/filesystem.rst
+++ b/bindings/python/docs/source/filesystem.rst
@@ -15,7 +15,7 @@ Files and directories
instead.
:class:`Directory` -- A directory entry in the database
-------------------------------------------------------
+-------------------------------------------------------
.. autoclass:: Directory
diff --git a/bindings/python/docs/source/threads.rst b/bindings/python/docs/source/threads.rst
index 4324ac82..46ce5be5 100644
--- a/bindings/python/docs/source/threads.rst
+++ b/bindings/python/docs/source/threads.rst
@@ -11,4 +11,4 @@
iterator and broke list(Threads()). Use `len(list(msgs))`
instead.
-.. automethod:: __str__
+ .. automethod:: __str__
diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py
index 7cc4db18..f376f6e6 100644
--- a/bindings/python/notmuch/version.py
+++ b/bindings/python/notmuch/version.py
@@ -1,3 +1,3 @@
# this file should be kept in sync with ../../../version
-__VERSION__ = '0.28.1'
+__VERSION__ = '0.28.2'
SOVERSION = '5'