Skip to content

Commit a685c71

Browse files
authored
Merge pull request #60 from maxmind/greg/add-back-object-inheritance
Add back object inheritance
2 parents b4d29c3 + 5616f03 commit a685c71

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.pylintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[MESSAGES CONTROL]
2+
disable=R0205

geoip2/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import geoip2.errors
1717

1818

19-
class Reader:
19+
class Reader(object):
2020
"""GeoIP2 database Reader object.
2121
2222
Instances of this class provide a reader for the GeoIP2 database format.

geoip2/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from abc import ABCMeta
44

55

6-
class SimpleEquality:
6+
class SimpleEquality(object):
77
"""Naive __dict__ equality mixin"""
88

99
__metaclass__ = ABCMeta

geoip2/webservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
PermissionRequiredError)
4040

4141

42-
class Client:
42+
class Client(object):
4343
"""Creates a new client object.
4444
4545
It accepts the following required arguments:

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[MESSAGES CONTROL]
2-
disable=R0201,R1705,W0105
2+
disable=R0201,R0205,R1705,W0105
33

44
[BASIC]
55

0 commit comments

Comments
 (0)