Skip to content

Commit

Permalink
fix everything else
Browse files Browse the repository at this point in the history
  • Loading branch information
bmw committed Apr 9, 2023
1 parent 243097d commit ea347bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Introduced the black code formatter
48729269a5a790473cb760c03577faa1b2c3245b
# Ran black on docs directory
243097d2f6050f1232f90934326fce76443b84cf
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
files: |
(?x)^(
src|
tests
)/
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
Expand Down
18 changes: 9 additions & 9 deletions examples/pem_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ def pem_to_jwk(pkey_pem, format="string"):
print("> roundtrip >")
print(as_jwk)
else:
indented_cmd = (
" python pem_conversion.py "
"/etc/letsencrypt/accounts/acme-v02.api.letsencrypt.org/"
"directory/##ACCOUNT##/private_key.json"
)
print("Error.")
print("Invoke this script with a single argument: the path to a certbot key.")
print(
" python pem_conversion.py /etc/letsencrypt/accounts/acme-v02.api.letsencrypt.org/directory/##ACCOUNT##/private_key.json"
)
print(
"Optional: add the string 'roundtrip' after the key to perform a roundtrip"
)
print(
" python pem_conversion.py /etc/letsencrypt/accounts/acme-v02.api.letsencrypt.org/directory/##ACCOUNT##/private_key.json roundtrip"
)
print(indented_cmd)
print("Optional: add the string 'roundtrip' after the key to perform a roundtrip")
# arguments to print are printed with a space between them by default
print(indented_cmd, "roundtrip")

0 comments on commit ea347bb

Please sign in to comment.