Browse Source

consolidated helptext dedent a bit

Daniel Roesler 9 years ago
parent
commit
3d0e0189e0
1 changed files with 2 additions and 4 deletions
  1. 2 4
      acme_tiny.py

+ 2 - 4
acme_tiny.py

@@ -174,8 +174,7 @@ def get_crt(account_key, csr, acme_dir):
 if __name__ == "__main__":
     parser = argparse.ArgumentParser(
         formatter_class=argparse.RawDescriptionHelpFormatter,
-        description=textwrap.dedent(
-            """\
+        description=textwrap.dedent("""\
             This script automates the process of getting a signed TLS certificate from
             Let's Encrypt using the ACME protocol. It will need to be run on your server
             and have access to your private account key, so PLEASE READ THROUGH IT! It's
@@ -188,8 +187,7 @@ if __name__ == "__main__":
             ===Example Crontab Renewal (once per month)===
             0 0 1 * * python /path/to/acme_tiny.py --account-key /path/to/account.key --csr /path/to/domain.csr --acme-dir /usr/share/nginx/html/.well-known/acme-challenge/ > /path/to/signed.crt 2>> /var/log/acme_tiny.log
             ==============================================
-            """
-        )
+            """)
     )
     parser.add_argument("--account-key", required=True, help="path to your Let's Encrypt account private key")
     parser.add_argument("--csr", required=True, help="path to your certificate signing request")