Extra docstring

This commit is contained in:
Peter Eckersley
2015-11-20 19:02:50 -08:00
parent 981b9dd3bc
commit c35c4f3fbe
+7 -1
View File
@@ -135,7 +135,13 @@ def perform_registration(acme, config):
Actually register new account, trying repeatedly if there are email
problems
:returns: the same value as acme.register
:param .IConfig config: Client configuration.
:param acme.client.Client client: ACME client object.
:returns: Registration Resource.
:rtype: `acme.messages.RegistrationResource`
:raises .UnexpectedUpdate:
"""
try:
return acme.register(messages.NewRegistration.from_data(email=config.email))