summaryrefslogtreecommitdiff
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-08 21:00:56 -0500
committerDan McGee <dan@archlinux.org>2012-04-08 21:00:56 -0500
commit3813ca597b3d76538f4d495e5eaf5b649e77adff (patch)
tree8fb21b1302623e8237e04a6e999f149641b68fa8 /mirrors/models.py
parent8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d (diff)
Don't blow up when no mirror status data is available
The check here was wrong before; in the case of no mirror log entries the returned value will not be empty, but will contain two empty values. Check the values instead to see if we have valid data available. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
0 files changed, 0 insertions, 0 deletions