From 94d8a1ca018464479f37c61c6b668439ed8507d0 Mon Sep 17 00:00:00 2001 From: James Kasten Date: Tue, 5 May 2015 14:54:15 -0700 Subject: [PATCH] update documentation of obtain_certificate --- letsencrypt/client/client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/letsencrypt/client/client.py b/letsencrypt/client/client.py index 58cccc3af..8518c56b9 100644 --- a/letsencrypt/client/client.py +++ b/letsencrypt/client/client.py @@ -107,8 +107,8 @@ class Client(object): this CSR can be different than self.authkey :type csr: :class:`CSR` - :returns: cert_file, chain_file (paths to respective files) - :rtype: `tuple` of `str` + :returns: cert_key, cert_path, chain_path + :rtype: `tuple` of (:class:`letsencrypt.client.le_util.Key`, str, str) """ if self.auth_handler is None: @@ -136,13 +136,13 @@ class Client(object): authzr) # Save Certificate - cert_file, chain_file = self.save_certificate( + cert_path, chain_path = self.save_certificate( certr, self.config.cert_path, self.config.chain_path) revoker.Revoker.store_cert_key( - cert_file, self.account.key.file, self.config) + cert_path, self.account.key.file, self.config) - return cert_key, cert_file, chain_file + return cert_key, cert_path, chain_path def save_certificate(self, certr, cert_path, chain_path): # pylint: disable=no-self-use