Attempt to fix ridiculous log message

This commit is contained in:
Peter Eckersley
2015-12-12 17:21:24 -08:00
parent 173ea94e17
commit aee25fb05e
+2 -2
View File
@@ -567,8 +567,8 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
"cert", self.latest_common_version()))
now = pytz.UTC.fromutc(datetime.datetime.utcnow())
if expiry < add_time_interval(now, interval):
logger.debug("Should renew, certificate "
"has been expired since %s.",
logger.debug("Should renew, less than %r days before certificate "
"expiry %s.", interval,
expiry.strftime("%Y-%m-%d %H:%M:%S %Z"))
return True
return False