x509: Fix docstring of write_certificate()

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Stanislav Laznicka
2018-01-24 13:13:04 +01:00
parent 8789afa18a
commit 60aa2c3b38

View File

@@ -543,8 +543,7 @@ def write_certificate(cert, filename):
"""
Write the certificate to a file in PEM format.
The cert value can be either DER or PEM-encoded, it will be normalized
to DER regardless, then back out to PEM.
:param cert: cryptograpy ``Certificate`` object
"""
try: