Update c301c59688d2_.py

language
This commit is contained in:
Hossein Shafagh 2020-09-23 10:21:23 -07:00 committed by GitHub
parent e3fa072608
commit 19b693f636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ def update_key_type():
conn = op.get_bind()
start_time = time.time()
# Loop through all certificates are valid today or expired in last 30 days
# Loop through all certificates that are valid today or expired in the last 30 days.
for cert_id, body in conn.execute(
text(
"select id, body from certificates where bits < 1024 and not_after > CURRENT_DATE - 31 and key_type is null")