Removed unused GeoIP2.info property.

This commit is contained in:
Nick Pope 2023-11-29 20:03:35 +00:00 committed by GitHub
parent c9ce764f59
commit f5f55b41af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -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)