GitHub user sebbASF opened a pull request:
https://github.com/apache/incubator-ponymail/pull/166
Various fixes to import-mbox.py
Don't change working directory
Fetch dbname once
Simplify config handling by using fallback option which prevents KeyError
being thrown
Fix counting error
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebbASF/incubator-ponymail importer-tidyup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-ponymail/pull/166.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #166
----
commit a8601eedd5aac6de78ffe37179f25b7bdbf62700
Author: Sebb <[email protected]>
Date: 2016-09-29T22:39:11Z
Fix double counting error
commit 9709254de4c9509118ee08634bc51e5e264707cd
Author: Sebb <[email protected]>
Date: 2016-09-29T22:46:21Z
Simplify config handling; don't refetch dbname
commit d1c5f4e2dfe69ae609024d2ef1f7de07332de350
Author: Sebb <[email protected]>
Date: 2016-09-29T22:51:03Z
Don't change working directory
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---