mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 00:35:03 +02:00
Merge pull request #766 from letsencrypt/fix_765
abspath storage.version (#765)
This commit is contained in:
@@ -223,7 +223,7 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
|
|||||||
target = os.readlink(link)
|
target = os.readlink(link)
|
||||||
if not os.path.isabs(target):
|
if not os.path.isabs(target):
|
||||||
target = os.path.join(os.path.dirname(link), target)
|
target = os.path.join(os.path.dirname(link), target)
|
||||||
return target
|
return os.path.abspath(target)
|
||||||
|
|
||||||
def current_version(self, kind):
|
def current_version(self, kind):
|
||||||
"""Returns numerical version of the specified item.
|
"""Returns numerical version of the specified item.
|
||||||
|
|||||||
Reference in New Issue
Block a user