Fix lint errors

This commit is contained in:
Jasmine Schladen 2020-12-08 12:09:53 -08:00
parent 79c6b3fc00
commit 15d43d6c27
1 changed files with 5 additions and 5 deletions

View File

@ -75,10 +75,10 @@ def get_certificates_for_security_summary_email(exclude=None):
q = ( q = (
database.db.session.query(Certificate) database.db.session.query(Certificate)
.filter(Certificate.not_after <= max_not_after) .filter(Certificate.not_after <= max_not_after)
.filter(Certificate.notify == true()) .filter(Certificate.notify == true())
.filter(Certificate.expired == false()) .filter(Certificate.expired == false())
.filter(Certificate.revoked == false()) .filter(Certificate.revoked == false())
) )
exclude_conditions = [] exclude_conditions = []
@ -434,7 +434,7 @@ def send_security_expiration_summary(exclude=None):
notification_type = "expiration_summary" notification_type = "expiration_summary"
log_data = { log_data = {
"function": function, "function": function,
"message": f"Sending expiration summary notification for to security team", "message": "Sending expiration summary notification for to security team",
"notification_type": notification_type, "notification_type": notification_type,
"notification_plugin": notification_plugin.slug, "notification_plugin": notification_plugin.slug,
} }