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 aa65912 Re-organise imports
aa65912 is described below
commit aa65912d0782ac981305b2c5ae58c2685bb70b3b
Author: Sebb <[email protected]>
AuthorDate: Mon Aug 17 10:50:54 2020 +0100
Re-organise imports
---
tools/archiver.py | 39 +++++++++++++++++++++------------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/tools/archiver.py b/tools/archiver.py
index fa052b4..ad6aed1 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -39,32 +39,35 @@ sub someone to the list(s) and add this to their .forward
file:
logger = None
-from elasticsearch import Elasticsearch
-from elasticsearch import VERSION as ES_VERSION
-ES_MAJOR = ES_VERSION[0]
-from formatflowed import convertToWrapped
-import hashlib
-import email.utils
-import email.header
-import time
-from collections import namedtuple
-import re
+import argparse
from base64 import standard_b64encode
-import chardet
-from ponymailconfig import PonymailConfig
-import os
+from collections import namedtuple
+import email.header
+import email.utils
import fnmatch
+import hashlib
+import json
import logging
-import traceback
+import os
+import re
import sys
-import generators
+import time
+import traceback
import uuid
-import json
+
import certifi
-import urllib.parse
-import argparse
+import chardet
+from elasticsearch import Elasticsearch
+from elasticsearch import VERSION as ES_VERSION
+from formatflowed import convertToWrapped
import netaddr
+from ponymailconfig import PonymailConfig
+import generators
+import urllib.parse
+
+ES_MAJOR = ES_VERSION[0]
+
# Fetch config
config = PonymailConfig()
auth = None