summaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-09 04:00:56 +0200
committerDan McGee <dan@archlinux.org>2012-04-09 04:00:56 +0200
commit3813ca597b3d76538f4d495e5eaf5b649e77adff (patch)
tree8fb21b1302623e8237e04a6e999f149641b68fa8 /__init__.py
parent8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d (diff)
downloadarchweb-3813ca597b3d76538f4d495e5eaf5b649e77adff.tar.gz
archweb-3813ca597b3d76538f4d495e5eaf5b649e77adff.tar.xz
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 '__init__.py')
0 files changed, 0 insertions, 0 deletions