From 15d43d6c270b5c81470f6834570c9962428bfea2 Mon Sep 17 00:00:00 2001 From: Jasmine Schladen Date: Tue, 8 Dec 2020 12:09:53 -0800 Subject: [PATCH] Fix lint errors --- lemur/notifications/messaging.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lemur/notifications/messaging.py b/lemur/notifications/messaging.py index b472a5f7..9a55ab3a 100644 --- a/lemur/notifications/messaging.py +++ b/lemur/notifications/messaging.py @@ -75,10 +75,10 @@ def get_certificates_for_security_summary_email(exclude=None): q = ( database.db.session.query(Certificate) - .filter(Certificate.not_after <= max_not_after) - .filter(Certificate.notify == true()) - .filter(Certificate.expired == false()) - .filter(Certificate.revoked == false()) + .filter(Certificate.not_after <= max_not_after) + .filter(Certificate.notify == true()) + .filter(Certificate.expired == false()) + .filter(Certificate.revoked == false()) ) exclude_conditions = [] @@ -434,7 +434,7 @@ def send_security_expiration_summary(exclude=None): notification_type = "expiration_summary" log_data = { "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_plugin": notification_plugin.slug, }