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-foal.git
The following commit(s) were added to refs/heads/master by this push:
new cc8d318 Unused
cc8d318 is described below
commit cc8d318186ec81cf09613ab2034beff76a04ea27
Author: Sebb <[email protected]>
AuthorDate: Wed Jan 19 14:08:04 2022 +0000
Unused
---
tools/import-mbox.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index e568206..25a3886 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -94,8 +94,7 @@ def bulk_insert(name, json, xes, dbindex, wc="quorum"):
optype = "index" if args.overwrite else "create"
js_arr = []
- for entry in json:
- js = entry
+ for js in json:
document_id = js["mid"]
if dbindex == xes.db_source:
del js["mid"]