summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2022-06-17 22:06:03 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-06-17 22:06:28 +0200
commit015ece8de4369b40fe74d1f000999842f460f86c (patch)
treee715096ae963eea445cf9a012467b0881d61df09
parent727d3ae9fc3f4a8490d2aef263414d9cc0ed095a (diff)
downloadpykolab-015ece8de4369b40fe74d1f000999842f460f86c.tar.gz
[Python 3] wallace - modules change / relative imports
Summary: some modules changed and there are also some relative imports fixes (dynamic imports) Reviewers: #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Subscribers: sicherha Differential Revision: https://git.kolab.org/D3626
-rw-r--r--wallace/module_gpgencrypt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wallace/module_gpgencrypt.py b/wallace/module_gpgencrypt.py
index e98bf0d..a0ddc2e 100644
--- a/wallace/module_gpgencrypt.py
+++ b/wallace/module_gpgencrypt.py
@@ -22,8 +22,8 @@ import tempfile
import time
from email import message_from_string
-from email.MIMEBase import MIMEBase
-from email.MIMEText import MIMEText
+from email.mime.base import MIMEBase
+from email.mime.text import MIMEText
from email.parser import Parser
from email.utils import formataddr
from email.utils import getaddresses