summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2023-11-29 20:03:35 +0000
committerGitHub <noreply@github.com>2023-11-29 21:03:35 +0100
commitf5f55b41afc43ef0cd661adcb48fc9ec1b2d4ac6 (patch)
tree82c3b55458ed1d4fd7dd8805d689270235a67474
parentc9ce764f59c1e809b210337980ae10c4b1d0f9be (diff)
Removed unused GeoIP2.info property.
-rw-r--r--django/contrib/gis/geoip2/base.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/django/contrib/gis/geoip2/base.py b/django/contrib/gis/geoip2/base.py
index b360f12a48..04d8412303 100644
--- a/django/contrib/gis/geoip2/base.py
+++ b/django/contrib/gis/geoip2/base.py
@@ -225,16 +225,6 @@ class GeoIP2:
else:
return None
- # #### GeoIP Database Information Routines ####
- @property
- def info(self):
- "Return information about the GeoIP library and databases in use."
- meta = self._reader.metadata()
- return "GeoIP Library:\n\t%s.%s\n" % (
- meta.binary_format_major_version,
- meta.binary_format_minor_version,
- )
-
@classmethod
def open(cls, full_path, cache):
return GeoIP2(full_path, cache)