cosmetic: blackify and isortify
This commit is contained in:
parent
12c10847e7
commit
727626cadd
2 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,7 @@ from bda.models import (
|
|||
SpectacleRevente,
|
||||
Tirage,
|
||||
)
|
||||
|
||||
from utils.mailutils import send_mass_custom_mail_wrapper, SendMassMailRecipientRefused
|
||||
from utils.mailutils import SendMassMailRecipientRefused, send_mass_custom_mail_wrapper
|
||||
|
||||
|
||||
class ReadOnlyMixin(object):
|
||||
|
@ -152,7 +151,7 @@ class ParticipantAdmin(ReadOnlyMixin, admin.ModelAdmin):
|
|||
count -= len(errors)
|
||||
self.message_user(
|
||||
request,
|
||||
"Les emails suivant causent des erreurs: {}".format(faulty_emails)
|
||||
"Les emails suivant causent des erreurs: {}".format(faulty_emails),
|
||||
)
|
||||
raise
|
||||
finally:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from custommail.shortcuts import send_mass_custom_mail
|
||||
from smtplib import SMTPRecipientsRefused
|
||||
|
||||
from custommail.shortcuts import send_mass_custom_mail
|
||||
|
||||
|
||||
def drop_until(predicate, l):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue