diff options
author | Dan McGee <dan@archlinux.org> | 2013-12-23 18:51:04 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-12-23 18:51:04 +0100 |
commit | 5eff1ab9bf0c3820c8b90e18efee1dfc773d08fc (patch) | |
tree | 442262d3c8b6d950394e3e2aea5758ad28030466 /retro/views.py | |
parent | d80908e21e88c78262563f5852d81f2754fb5d82 (diff) | |
download | archweb-5eff1ab9bf0c3820c8b90e18efee1dfc773d08fc.tar.gz archweb-5eff1ab9bf0c3820c8b90e18efee1dfc773d08fc.tar.xz |
Set all attributes to default values on status URL fetch
We were missing two duration-related attributes here, causing some 500
errors to happen if we had cached status_data around that didn't agree
with our current list of checked mirrors. Don't blow up on the JSON data
fetch by ensuring we provide a value, even if it is out of date.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'retro/views.py')
0 files changed, 0 insertions, 0 deletions