Skip to content

Commit

Permalink
Merge pull request certbot#1880 from alex/patch-2
Browse files Browse the repository at this point in the history
Simplify the ACME example client by using an existing method
  • Loading branch information
pde committed Dec 12, 2015
2 parents 0751244 + 916a946 commit 35a6dbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acme/examples/example_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@

regr = acme.register()
logging.info('Auto-accepting TOS: %s', regr.terms_of_service)
acme.update_registration(regr.update(
body=regr.body.update(agreement=regr.terms_of_service)))
acme.agree_to_tos(regr)
logging.debug(regr)

authzr = acme.request_challenges(
Expand Down

0 comments on commit 35a6dbb

Please sign in to comment.