Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@eff.org>2019-03-02 05:20:31 +0300
committerBrad Warren <bmw@eff.org>2019-03-02 05:20:31 +0300
commit0396ce8efb561eabafc922b21910d266747116cb (patch)
treeda7a0625ae49dcb029e25e7fb68f8c47fa574250
parent6ff101dcbbe66943487633391a4f03f27bcc6aaa (diff)
timeittimeit
-rw-r--r--certbot/cert_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/certbot/cert_manager.py b/certbot/cert_manager.py
index 2a67f8765..88d3f8b81 100644
--- a/certbot/cert_manager.py
+++ b/certbot/cert_manager.py
@@ -261,6 +261,8 @@ def human_readable_cert_info(config, cert, skip_filter_checks=False):
reasons = []
if cert.is_test_cert:
reasons.append('TEST_CERT')
+ import timeit
+ print(timeit.timeit('cert.target_expiry', globals=locals()))
if cert.target_expiry <= now:
reasons.append('EXPIRED')
if checker.ocsp_revoked(cert.cert, cert.chain):