mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
lint
This commit is contained in:
+1
-1
@@ -407,7 +407,7 @@ def _avoid_invalidating_lineage(config, lineage, original_server):
|
|||||||
open(lineage.cert).read())
|
open(lineage.cert).read())
|
||||||
# all our test certs are from happy hacker fake CA, though maybe one day
|
# all our test certs are from happy hacker fake CA, though maybe one day
|
||||||
# we should test more methodically
|
# we should test more methodically
|
||||||
now_valid = not ("fake" in repr(latest_cert.get_issuer()).lower())
|
now_valid = not "fake" in repr(latest_cert.get_issuer()).lower()
|
||||||
|
|
||||||
if _is_staging(config.server):
|
if _is_staging(config.server):
|
||||||
if not _is_staging(original_server) or now_valid:
|
if not _is_staging(original_server) or now_valid:
|
||||||
|
|||||||
Reference in New Issue
Block a user