ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Tidy imports
Date Wed, 02 Nov 2016 02:42:41 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 7c31cee12 -> 5d97075e8


Tidy imports

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/5d97075e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/5d97075e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/5d97075e

Branch: refs/heads/master
Commit: 5d97075e8feb8161a2249e1cd08a31334043fd82
Parents: 7c31cee
Author: Sebb <sebb@apache.org>
Authored: Wed Nov 2 02:42:08 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Wed Nov 2 02:42:08 2016 +0000

----------------------------------------------------------------------
 tools/import-mbox.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/5d97075e/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 95735b8..72c4494 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -17,7 +17,8 @@
 # limitations under the License.
 
 import sys
-import random, time
+import random
+import time
 import hashlib
 import os
 from threading import Thread, Lock
@@ -25,14 +26,11 @@ import mailbox
 import email.errors, email.utils, email.header
 from urllib.request import urlopen
 import re
-import chardet
-import datetime
 import configparser
 import argparse
 from os import listdir
 from os.path import isfile, join, isdir
 import glob
-import codecs
 import multiprocessing
 import tempfile
 import gzip


Mime
View raw message