mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 09:13:45 +08:00
flake8
This commit is contained in:
parent
2524c8ab98
commit
c132e3fbbc
4 changed files with 1 additions and 4 deletions
1
cron.py
1
cron.py
|
@ -59,7 +59,6 @@ from app.models import (
|
|||
HibpNotifiedAlias,
|
||||
)
|
||||
from app.utils import sanitize_email
|
||||
from server import create_app
|
||||
|
||||
|
||||
def notify_trial_end():
|
||||
|
|
|
@ -140,7 +140,7 @@ from app.models import (
|
|||
from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data
|
||||
from app.utils import sanitize_email
|
||||
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
|
||||
if NEWRELIC_CONFIG_PATH:
|
||||
|
|
|
@ -3,7 +3,6 @@ from app.db import Session
|
|||
from app.log import LOG
|
||||
from app.models import Mailbox, Contact, SLDomain
|
||||
from app.pgp_utils import load_public_key
|
||||
from server import create_app
|
||||
|
||||
|
||||
def load_pgp_public_keys():
|
||||
|
|
|
@ -5,7 +5,6 @@ from app.config import HOST
|
|||
from app.db import Session
|
||||
from app.log import LOG
|
||||
from app.models import Monitoring
|
||||
from server import create_app
|
||||
|
||||
# the number of consecutive fails
|
||||
# if more than _max_nb_fails, alert
|
||||
|
|
Loading…
Reference in a new issue