sbp opened a new pull request, #264: URL: https://github.com/apache/incubator-ponymail-foal/pull/264
The `tools/import-mbox.py` script does not work when `--dedup` and `--dry` are used in conjunction due to the `es` variable not being in scope during the deduplication operation. This is due to `es` not being constructed as a global when `--dry` is set. This PR fixes that by creating a function to construct the `es` variable, and using that selectively when `--dry` is run so that `es` is only, clearly, used to get metadata for deduplication. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
