Return RegistrationResource in agree_to_tos

This commit is contained in:
Jakub Warmuz 2015-04-14 13:06:00 +00:00
parent 5298d8123d
commit 1672e07b2c
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -224,7 +224,7 @@ class Network(object):
:rtype: `.RegistrationResource`
"""
self.update_registration(
return self.update_registration(
regr.update(body=regr.body.update(agreement=regr.terms_of_service)))
def _authzr_from_response(self, response, identifier,