This introduces globals.RaiseStderrErrors, a ContextManager
that raises error messages printed by libnotmuch to stderr
as NotmuchError(STATUS.XAPIAN_EXCEPTION, message=err).
---
bindings/python/notmuch/database.py |5 +
bindings/python/notmuch/globals.py | 24
include the date_relative field in the
json formated output of notmuch search
---
notmuch-search.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index faccaf7..b1adc03 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -176,12
expect the date_relative field for thread entries
in notmuch search's json output
---
test/json |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/json b/test/json
index 5a2544c..d54bf25 100755
--- a/test/json
+++ b/test/json
@@ -12,6 +12,7 @@ add_message
expect the date_relative field for thread entries
in notmuch search's json output
---
test/json |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/json b/test/json
index 5a2544c..d54bf25 100755
--- a/test/json
+++ b/test/json
@@ -12,6 +12,7 @@ add_message
include the date_relative field in the
json formated output of notmuch search
---
notmuch-search.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/notmuch-search.c b/notmuch-search.c
index faccaf7..b1adc03 100644
--- a/notmuch-search.c
+++ b/notmuch-search.c
@@ -176,12
This introduces globals.RaiseStderrErrors, a ContextManager
that raises error messages printed by libnotmuch to stderr
as NotmuchError(STATUS.XAPIAN_EXCEPTION, message=err).
---
bindings/python/notmuch/database.py |5 +
bindings/python/notmuch/globals.py | 24