summaryrefslogtreecommitdiffstats
path: root/mirrors/management/commands/mirrorcheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/management/commands/mirrorcheck.py')
-rw-r--r--mirrors/management/commands/mirrorcheck.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py
index 4a933ca..c2ab077 100644
--- a/mirrors/management/commands/mirrorcheck.py
+++ b/mirrors/management/commands/mirrorcheck.py
@@ -84,6 +84,8 @@ def check_mirror_url(mirror_url):
try:
parsed_time = datetime.utcfromtimestamp(int(data))
except ValueError:
+ logger.debug("attempting to parse generated lastsync file"
+ " from mirror %s, value %s" % (url, data))
parsed_time = parse_rfc3339_datetime(data)
log.last_sync = parsed_time