Skip to content

Commit

Permalink
Merge pull request #32 from muccg/next_release
Browse files Browse the repository at this point in the history
Upgrade to pycountry 17.5.14
  • Loading branch information
sztamas committed Jun 13, 2017
2 parents b40a8f4 + 29ea188 commit c16a961
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pycountry
pycountry==17.5.14
django-templatetag-handlebars==1.3.1
2 changes: 1 addition & 1 deletion iprestrict/geoip.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def is_valid_country_code(code):
if code == NO_COUNTRY:
return True
try:
countries.get(alpha2=code)
countries.get(alpha_2=code)
return True
except KeyError:
return False
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def get_package_version(package):
],
extras_require={
'geoip': [
'pycountry==1.20',
'geoip2==2.4.0',
'pycountry==17.5.14',
'geoip2==2.5.0',
'GeoIP==1.3.2',
],
'dev': [
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ skip_missing_interpreters = True
commands =
./runtests.sh {env:RUNTEST_ARGS:}
deps =
pycountry==1.20
pycountry==17.5.14
mock
django-18: Django>=1.8,<1.9
django-19: Django==1.9,<1.10
Expand Down

0 comments on commit c16a961

Please sign in to comment.