mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 08:03:10 +02:00
This should be maximally legible.
This commit is contained in:
@@ -567,7 +567,7 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
|
|||||||
"cert", self.latest_common_version()))
|
"cert", self.latest_common_version()))
|
||||||
now = pytz.UTC.fromutc(datetime.datetime.utcnow())
|
now = pytz.UTC.fromutc(datetime.datetime.utcnow())
|
||||||
if expiry < add_time_interval(now, interval):
|
if expiry < add_time_interval(now, interval):
|
||||||
logger.debug("Should renew, less than %r days before certificate "
|
logger.debug("Should renew, less than %s before certificate "
|
||||||
"expiry %s.", interval,
|
"expiry %s.", interval,
|
||||||
expiry.strftime("%Y-%m-%d %H:%M:%S %Z"))
|
expiry.strftime("%Y-%m-%d %H:%M:%S %Z"))
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user