mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Merge branch 'master' of ssh://github.com/research/chocolate
This commit is contained in:
@@ -65,8 +65,12 @@ def choice_of_ca():
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def get_cas():
|
def get_cas():
|
||||||
with open("trustify/client/.ca_offerings") as f:
|
try:
|
||||||
choices = [line.split(";", 1) for line in f]
|
with open("trustify/client/.ca_offerings") as f:
|
||||||
|
choices = [line.split(";", 1) for line in f]
|
||||||
|
except IOError as e:
|
||||||
|
logger.fatal("Unable to find .ca_offerings file")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
return choices
|
return choices
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user