try to make pylint happy
All checks were successful
buildbot/tox Build done.

This commit is contained in:
2022-06-08 00:08:09 +02:00
parent 8610e2a557
commit 98a6fc3ce7
60 changed files with 565 additions and 560 deletions

View File

@@ -5,7 +5,7 @@ from . import emails
registration_created = Signal(providing_args=['registration'])
def send_emails_on_registration(sender, **kwargs):
def send_emails_on_registration(sender, **kwargs): # pylint: disable=unused-argument
registration = kwargs.get('registration')
# Inform the event owner (trainer)
@@ -14,7 +14,7 @@ def send_emails_on_registration(sender, **kwargs):
email.send()
# Inform the potential participant
recipient = u'"{fullname}" <{email}>'.format(fullname=registration.get_full_name(),
email=registration.email_address)
recipient = '"{fullname}" <{email}>'.format(fullname=registration.get_full_name(),
email=registration.email_address)
email = emails.InformSelfRegistrationMail(recipient=recipient, registration=registration)
email.send()