diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-09 04:00:56 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-09 04:00:56 +0200 |
commit | 3813ca597b3d76538f4d495e5eaf5b649e77adff (patch) | |
tree | 8fb21b1302623e8237e04a6e999f149641b68fa8 /__init__.py | |
parent | 8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d (diff) | |
download | archweb-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