commit 77fd67837dc69200ed2a96534f7264e2a7ce24fb
Author: Damian Johnson <[email protected]>
Date: Sat Nov 16 13:49:09 2013 -0800
Minor grammatical improvement for cert expiration
Sebastian G. pointed out that 'within the next one week' doesn't read
particularly well, so changing it to 'within the next week'.
---
consensus_health_checker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 0127f2c..f80be87 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -363,7 +363,7 @@ def certificate_expiration(latest_consensus, consensuses,
votes):
expiration_label = '%s (%s)' % (authority,
cert_expiration.strftime('%Y-%m-%d %H-%M-%S'))
if (cert_expiration - current_time) <= datetime.timedelta(days = 7):
- issues.append(Issue(Runlevel.WARNING, 'CERTIFICATE_ABOUT_TO_EXPIRE',
duration = 'one week', authority = expiration_label))
+ issues.append(Issue(Runlevel.WARNING, 'CERTIFICATE_ABOUT_TO_EXPIRE',
duration = 'week', authority = expiration_label))
elif (cert_expiration - current_time) <= datetime.timedelta(days = 14):
issues.append(Issue(Runlevel.WARNING, 'CERTIFICATE_ABOUT_TO_EXPIRE',
duration = 'two weeks', authority = expiration_label))
elif (cert_expiration - current_time) <= datetime.timedelta(days = 21):
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits