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 46741df Tidy imports
46741df is described below
commit 46741dfe57bb6cd6b47e085ad6ee87b946a5cbbe
Author: Sebb <[email protected]>
AuthorDate: Mon Aug 17 21:21:27 2020 +0100
Tidy imports
---
tools/setup.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/setup.py b/tools/setup.py
index 386a4b6..94b9e23 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -14,11 +14,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys, os, os.path
import argparse
-import shutil
-import logging
import importlib.util
+import logging
+import os
+import os.path
+import shutil
+import sys
if sys.version_info <= (3, 3):
print("This script requires Python 3.4 or higher")
@@ -29,7 +31,7 @@ wanted_pkgs = [
'elasticsearch',# used by setup.py, archiver.py and elastic.py
'formatflowed', # used by archiver.py
'netaddr', # used by archiver.py
- 'certifi', # used by archiver.py and elastic.py
+ 'certifi', # used by archiver.py and elastic.py
]
missing_pkgs = list(wanted_pkgs) # copy to avoid corruption