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:
Rodolfo García Peñas (kix) 2020-09-03 20:44:08 +02:00
parent bab7dd00c9
commit 9123cb83fc

View File

@ -21,12 +21,7 @@ import re
import os import os
from sys import exc_info from sys import exc_info
from threading import Lock from threading import Lock
try:
from hashlib import md5 from hashlib import md5
except ImportError:
from md5 import md5
from offlineimap import OfflineImapError, emailutil from offlineimap import OfflineImapError, emailutil
from .Base import BaseFolder from .Base import BaseFolder