increasing logging on update timestamp comparison

This commit is contained in:
brent s. 2020-07-24 23:08:27 -04:00
parent 18024ba61a
commit 712dc8e4c7
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ class Distro(object):
if update:
if local_checks and (local_checks[-1] < update):
_logger.info('Newest local timestamp is older than the remote update; syncing.')
_logger.debug('Newest local: {0}, remote update: {1}'.format(local_checks[-1], update))
u.has_new = True
elif not local_checks:
_logger.info('No local timestamps; syncing.')