summaryrefslogtreecommitdiffstats
path: root/mirrors/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-02-22 08:49:58 -0600
committerDan McGee <dan@archlinux.org>2014-02-22 08:49:58 -0600
commit16b22e4bfc2e271a58a79a9fb4ccb5e059c6d62a (patch)
tree8121de555779c5b7a1796ad62842aec0f166a8f6 /mirrors/utils.py
parent5fcc6af4ddd0d6f9fbe491a1fd5a9a0edc5b52a5 (diff)
downloadarchweb-16b22e4bfc2e271a58a79a9fb4ccb5e059c6d62a.tar.gz
archweb-16b22e4bfc2e271a58a79a9fb4ccb5e059c6d62a.zip
Upgrade django-countries to 2.0
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/utils.py')
-rw-r--r--mirrors/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/utils.py b/mirrors/utils.py
index be44121a..fe18cd6a 100644
--- a/mirrors/utils.py
+++ b/mirrors/utils.py
@@ -179,7 +179,7 @@ def get_mirror_errors(cutoff=DEFAULT_CUTOFF, mirror_id=None, show_all=False):
errors = list(errors)
for err in errors:
- err['country'] = Country(err['url__country'])
+ err['country'] = Country(err['url__country'], flag_url='')
return errors