From 83ee570df98d9197942fe562bdb22d59887389f7 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 11 Jul 2021 18:26:26 +0200 Subject: [PATCH] temporarily disabled emails imports --- app/scodoc/sco_emails.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/scodoc/sco_emails.py b/app/scodoc/sco_emails.py index 2c05a96d7..6aa9ba273 100644 --- a/app/scodoc/sco_emails.py +++ b/app/scodoc/sco_emails.py @@ -34,13 +34,14 @@ from flask import request # XXX WIP: à ré-écrire pour ScoDoc 8 (étaient des méthodes de ZScoDoc) import os import time -from email.MIMEMultipart import ( # pylint: disable=no-name-in-module,import-error - MIMEMultipart, -) -from email.MIMEText import MIMEText # pylint: disable=no-name-in-module,import-error -from email.MIMEBase import MIMEBase # pylint: disable=no-name-in-module,import-error -from email.Header import Header # pylint: disable=no-name-in-module,import-error -from email import Encoders # pylint: disable=no-name-in-module,import-error + +# from email.MIMEMultipart import ( # pylint: disable=no-name-in-module,import-error +# MIMEMultipart, +# ) +# from email.MIMEText import MIMEText # pylint: disable=no-name-in-module,import-error +# from email.MIMEBase import MIMEBase # pylint: disable=no-name-in-module,import-error +# from email.Header import Header # pylint: disable=no-name-in-module,import-error +# from email import Encoders # pylint: disable=no-name-in-module,import-error import app.scodoc.sco_utils as scu from app.scodoc.notes_log import log