From 748a7fe2bcca45906085b85280bbcf678f87d27c Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Thu, 10 Dec 2015 15:41:27 -0800 Subject: [PATCH] Partially update documentation for _treat_as_renewal --- letsencrypt/cli.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index b1d3f3d87..ecee15c2e 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -211,10 +211,11 @@ def _find_duplicative_certs(config, domains): def _treat_as_renewal(config, domains): - """Determine whether or not the call should be treated as a renewal. + """Determine whether there are duplicated names and how to handle them. - :returns: RenewableCert or None if renewal shouldn't occur. - :rtype: :class:`.storage.RenewableCert` + :returns: Two-element tuple containing desired new-certificate + behavior as a string token, plus either a RenewableCert + instance or None if renewal shouldn't occur. :raises .Error: If the user would like to rerun the client again.