mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Merge pull request #6643 from trinopoty/issue_6624
Added sorting to renewal_conf_files()
This commit is contained in:
+3
-1
@@ -41,7 +41,9 @@ def renewal_conf_files(config):
|
|||||||
:rtype: `list` of `str`
|
: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):
|
def renewal_file_for_certname(config, certname):
|
||||||
"""Return /path/to/certname.conf in the renewal conf directory"""
|
"""Return /path/to/certname.conf in the renewal conf directory"""
|
||||||
|
|||||||
Reference in New Issue
Block a user