summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <bts@square-r00t.net>2020-07-24 23:08:27 -0400
committerbrent s <bts@square-r00t.net>2020-07-24 23:08:27 -0400
commit712dc8e4c754ff9be8eab0e95b27f54048a17158 (patch)
tree7e2d1738e7a365ea6cfc997c1079eb959d900ae1
parent18024ba61aab91d77b876a8967450fb822525a55 (diff)
downloadRepoMirror-712dc8e4c754ff9be8eab0e95b27f54048a17158.tar.xz
increasing logging on update timestamp comparison
-rw-r--r--repomirror/sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repomirror/sync.py b/repomirror/sync.py
index f41f977..2adf401 100644
--- a/repomirror/sync.py
+++ b/repomirror/sync.py
@@ -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.')