summaryrefslogtreecommitdiff
path: root/mirrors/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-07 08:07:03 -0500
committerDan McGee <dan@archlinux.org>2010-10-07 08:07:03 -0500
commit2e299273e2462775cf3ecd4f93715678575319fd (patch)
tree49b3c39e6e758f11f23d6ea01f904bf5eea43f91 /mirrors/utils.py
parent5fce0e249c3fef4dff65720115dccb27d298c312 (diff)
mirrorcheck: record duration on file not found errors
On an HTTP 404, FTP 550, or inability to parse the lastsync file, record the duration of the check even though we couldn't get a time from the mirror. This allows for these checks to show up as completed but in error, which is more what. Previously, inability to parse the date was also recorded as a success, so change that to be a failure and record an error message with it. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/utils.py')
0 files changed, 0 insertions, 0 deletions