Remove md5 import
The library md5 is only for python2, hashlib is used in python3 Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
parent
bab7dd00c9
commit
9123cb83fc
@ -21,12 +21,7 @@ import re
|
||||
import os
|
||||
from sys import exc_info
|
||||
from threading import Lock
|
||||
|
||||
try:
|
||||
from hashlib import md5
|
||||
except ImportError:
|
||||
from md5 import md5
|
||||
|
||||
from hashlib import md5
|
||||
from offlineimap import OfflineImapError, emailutil
|
||||
from .Base import BaseFolder
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user