You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2018/05/14 13:02:50 UTC
[incubator-ponymail] branch master updated: Bug: archiver ignores
failures if dumponfail is not defined
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git
The following commit(s) were added to refs/heads/master by this push:
new 58b5898 Bug: archiver ignores failures if dumponfail is not defined
58b5898 is described below
commit 58b5898eff41fafe9dbea1d40299224c229a15a4
Author: Sebb <se...@apache.org>
AuthorDate: Mon May 14 14:02:48 2018 +0100
Bug: archiver ignores failures if dumponfail is not defined
This fixes #449
---
CHANGELOG.md | 1 +
tools/archiver.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index eb756ad..05bb538 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
## Changes in 0.11-SNAPSHOT
+- Bug: archiver ignores failures if dumponfail is not defined (#449)
- Enh: make MboxoFactory optional (#442)
- Bug: duplication of data in response from thread.lua (#440)
- Bug: Indentation in mail content (leading white-space) not shown (#432)
diff --git a/tools/archiver.py b/tools/archiver.py
index ed63efa..15868a1 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -463,6 +463,8 @@ class Archiver(object): # N.B. Also used by import-mbox.py
},f , indent = 2)
f.close()
sys.exit(0) # We're exiting here, the rest can't be done without ES
+ # otherwise fail as before
+ raise err
# If MailMan and list info is present, save/update it in ES:
if hasattr(mlist, 'description') and hasattr(mlist, 'list_name') and mlist.description and mlist.list_name:
--
To stop receiving notification emails like this one, please contact
sebb@apache.org.