Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/geoip/files/update.py

Issue 29783590: #11294 - Include GeoIP2 downloads with geoip module (Closed)
Patch Set: Created May 16, 2018, 11:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/geoip/files/update.py
===================================================================
--- a/modules/geoip/files/update.py
+++ b/modules/geoip/files/update.py
@@ -9,6 +9,9 @@
'/usr/share/GeoIP/GeoIPCity.dat': 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz',
'/usr/share/GeoIP/GeoIPCityv6.dat': 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz',
+
+ '/usr/share/GeoIP/GeoIP2.dat': 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz',
+ '/usr/share/GeoIP/GeoIP2City.dat': 'http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz',
}
for dest, source in downloads.iteritems():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld