This commit is contained in:
Son 2021-10-12 15:03:16 +02:00
parent 2524c8ab98
commit c132e3fbbc
4 changed files with 1 additions and 4 deletions

View file

@ -59,7 +59,6 @@ from app.models import (
HibpNotifiedAlias, HibpNotifiedAlias,
) )
from app.utils import sanitize_email from app.utils import sanitize_email
from server import create_app
def notify_trial_end(): def notify_trial_end():

View file

@ -140,7 +140,7 @@ from app.models import (
from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data
from app.utils import sanitize_email from app.utils import sanitize_email
from init_app import load_pgp_public_keys from init_app import load_pgp_public_keys
from server import create_app, create_light_app from server import create_light_app
newrelic_app = None newrelic_app = None
if NEWRELIC_CONFIG_PATH: if NEWRELIC_CONFIG_PATH:

View file

@ -3,7 +3,6 @@ from app.db import Session
from app.log import LOG from app.log import LOG
from app.models import Mailbox, Contact, SLDomain from app.models import Mailbox, Contact, SLDomain
from app.pgp_utils import load_public_key from app.pgp_utils import load_public_key
from server import create_app
def load_pgp_public_keys(): def load_pgp_public_keys():

View file

@ -5,7 +5,6 @@ from app.config import HOST
from app.db import Session from app.db import Session
from app.log import LOG from app.log import LOG
from app.models import Monitoring from app.models import Monitoring
from server import create_app
# the number of consecutive fails # the number of consecutive fails
# if more than _max_nb_fails, alert # if more than _max_nb_fails, alert