Save version in renewal config file

This commit is contained in:
Brad Warren 2016-05-23 14:09:31 -07:00
parent 0e9aec20a7
commit c3c9441a59

View file

@ -65,6 +65,7 @@ def write_renewal_config(o_filename, n_filename, target, relevant_data):
"""
config = configobj.ConfigObj(o_filename)
config["version"] = certbot.__version__
for kind in ALL_FOUR:
config[kind] = target[kind]