Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion geoip2/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class Reader(object):
be thrown.

"""

def __init__(self, fileish, locales=None, mode=MODE_AUTO):
"""Create GeoIP2 Reader.

Expand Down
1 change: 0 additions & 1 deletion geoip2/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class HTTPError(GeoIP2Error):
:ivar uri: The URI queried

"""

def __init__(self, message, http_status=None, uri=None):
super(HTTPError, self).__init__(message)
self.http_status = http_status
Expand Down
5 changes: 0 additions & 5 deletions geoip2/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class Country(SimpleEquality):
:type: :py:class:`geoip2.records.Traits`

"""

def __init__(self, raw_response, locales=None):
if locales is None:
locales = ['en']
Expand Down Expand Up @@ -160,7 +159,6 @@ class City(Country):
:type: :py:class:`geoip2.records.Traits`

"""

def __init__(self, raw_response, locales=None):
super(City, self).__init__(raw_response, locales)
self.city = \
Expand Down Expand Up @@ -362,7 +360,6 @@ class AnonymousIP(SimpleModel):

:type: unicode
"""

def __init__(self, raw):
self.is_anonymous = raw.get('is_anonymous', False)
self.is_anonymous_vpn = raw.get('is_anonymous_vpn', False)
Expand Down Expand Up @@ -432,7 +429,6 @@ class ConnectionType(SimpleModel):

:type: unicode
"""

def __init__(self, raw):
self.connection_type = raw.get('connection_type')
self.ip_address = raw.get('ip_address')
Expand All @@ -457,7 +453,6 @@ class Domain(SimpleModel):
:type: unicode

"""

def __init__(self, raw):
self.domain = raw.get('domain')
self.ip_address = raw.get('ip_address')
Expand Down
1 change: 0 additions & 1 deletion geoip2/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ class Subdivisions(tuple):

This attribute is returned by ``city``, ``enterprise``, and ``insights``.
"""

def __new__(cls, locales, *subdivisions):
subdivisions = [Subdivision(locales, **x) for x in subdivisions]
obj = super(cls, Subdivisions).__new__(cls, subdivisions)
Expand Down
1 change: 0 additions & 1 deletion geoip2/webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class Client(object):
* zh-CN -- Simplified Chinese.

"""

def __init__(
self,
account_id=None,
Expand Down