Moving renew_before_expiry comment to initial_comment

This commit is contained in:
Amjad Mashaal 2016-04-27 02:50:36 +02:00
parent 070642faaf
commit e3ad290dff

View file

@ -78,8 +78,8 @@ def write_renewal_config(o_filename, n_filename, target, relevant_data):
if k not in relevant_data:
del config["renewalparams"][k]
if "renew_before_expiry" not in config["renewalparams"]:
config.final_comment = ["renew_before_expiry = 30 days"]
if "renew_before_expiry" not in config:
config.initial_comment = ["renew_before_expiry = 30 days"]
# TODO: add human-readable comments explaining other available
# parameters