mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Added sorting to renewal_conf_files()
This commit is contained in:
parent
3fa3ffea71
commit
233cfe5207
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ def renewal_conf_files(config):
|
|||
:rtype: `list` of `str`
|
||||
|
||||
"""
|
||||
return glob.glob(os.path.join(config.renewal_configs_dir, "*.conf"))
|
||||
result = glob.glob(os.path.join(config.renewal_configs_dir, "*.conf"))
|
||||
result.sort()
|
||||
return result
|
||||
|
||||
def renewal_file_for_certname(config, certname):
|
||||
"""Return /path/to/certname.conf in the renewal conf directory"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue