From f5f55b41afc43ef0cd661adcb48fc9ec1b2d4ac6 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 29 Nov 2023 20:03:35 +0000 Subject: [PATCH] Removed unused GeoIP2.info property. --- django/contrib/gis/geoip2/base.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/django/contrib/gis/geoip2/base.py b/django/contrib/gis/geoip2/base.py index b360f12a488..04d84123039 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)