From 9d202eca23fc007a6c09f41c42cfbb726625ae37 Mon Sep 17 00:00:00 2001 From: ma0ho Date: Thu, 22 Sep 2016 22:07:44 +0200 Subject: [PATCH] Fix identation --- management/ssl_certificates.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/management/ssl_certificates.py b/management/ssl_certificates.py index bc803ea3..d037cf52 100755 --- a/management/ssl_certificates.py +++ b/management/ssl_certificates.py @@ -196,7 +196,7 @@ def get_certificates_to_provision(env, show_extended_problems=True, force_domain if cert.issuer == cert.subject: # This is self-signed. Get a real one. domains.add(domain) - + # Valid certificate today, but is it expiring soon? elif cert.not_valid_after-now < datetime.timedelta(days=14): domains.add(domain) @@ -417,7 +417,7 @@ def provision_certificates_cmdline(): headless = False force_domains = None show_extended_problems = True - + args = list(sys.argv) args.pop(0) # program name if args and args[0] == "-v": @@ -499,7 +499,7 @@ control panel. Do you agree to the agreement? Type Y or N and press : """ % request["url"], end='', flush=True) - + if sys.stdin.readline().strip().upper() != "Y": print("\nYou didn't agree. Quitting.") sys.exit(1)