1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

python:samba:kcc: Fix log message formatting

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-07-06 15:56:38 +12:00 committed by Andrew Bartlett
parent f47aef7743
commit d0efff68ce

View File

@ -407,8 +407,8 @@ class KCC(object):
nttime2unix(failed_link.time_first_failure) nttime2unix(failed_link.time_first_failure)
# TODO guard against future # TODO guard against future
if unix_first_failure > self.unix_now: if unix_first_failure > self.unix_now:
logger.error("The last success time attribute for \ logger.error("The last success time attribute for "
repsFrom is in the future!") "repsFrom is in the future!")
# Perform calculation in seconds # Perform calculation in seconds
if (self.unix_now - unix_first_failure) > 60 * 60 * 2: if (self.unix_now - unix_first_failure) > 60 * 60 * 2: