"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "certbot/main.py" between
certbot-0.30.2.tar.gz and certbot-0.31.0.tar.gz

About: Certbot is EFF’s tool to obtain certs from Let’s Encrypt, and optionally auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.

main.py  (certbot-0.30.2):main.py  (certbot-0.31.0)
skipping to change at line 543 skipping to change at line 543
:rtype: None :rtype: None
:raises errors.Error: If anything goes wrong, including bad user input, if a n overlapping :raises errors.Error: If anything goes wrong, including bad user input, if a n overlapping
archive dir is found for the specified lineage, etc ... archive dir is found for the specified lineage, etc ...
""" """
display = zope.component.getUtility(interfaces.IDisplay) display = zope.component.getUtility(interfaces.IDisplay)
reporter_util = zope.component.getUtility(interfaces.IReporter) reporter_util = zope.component.getUtility(interfaces.IReporter)
attempt_deletion = config.delete_after_revoke attempt_deletion = config.delete_after_revoke
if attempt_deletion is None: if attempt_deletion is None:
msg = ("Would you like to delete the cert(s) you just revoked?") msg = ("Would you like to delete the cert(s) you just revoked, along wit
h all earlier and "
"later versions of the cert?")
attempt_deletion = display.yesno(msg, yes_label="Yes (recommended)", no_ label="No", attempt_deletion = display.yesno(msg, yes_label="Yes (recommended)", no_ label="No",
force_interactive=True, default=True) force_interactive=True, default=True)
if not attempt_deletion: if not attempt_deletion:
reporter_util.add_message("Not deleting revoked certs.", reporter_util.L OW_PRIORITY) reporter_util.add_message("Not deleting revoked certs.", reporter_util.L OW_PRIORITY)
return return
# config.cert_path must have been set # config.cert_path must have been set
# config.certname may have been set # config.certname may have been set
assert config.cert_path assert config.cert_path
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)