From: Björn Victor Date: Sun, 18 Nov 2018 15:39:51 +0000 (+0100) Subject: FIxes pylint complaints. X-Git-Tag: v1.16.0~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02965ef4ed35c7b37fd7afab443d0f8df1fad705;p=thirdparty%2Fdnspython.git FIxes pylint complaints. --- diff --git a/dns/rdtypes/CH/A.py b/dns/rdtypes/CH/A.py index ce39b751..a24ddce7 100644 --- a/dns/rdtypes/CH/A.py +++ b/dns/rdtypes/CH/A.py @@ -13,7 +13,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -import dns.rdtypes.mxbase.MXBase +import dns.rdtypes.mxbase import struct class A(dns.rdtypes.mxbase.MXBase): @@ -27,7 +27,7 @@ class A(dns.rdtypes.mxbase.MXBase): __slots__ = ['domain', 'address'] def __init__(self, rdclass, rdtype, address, domain): - super(MXBase, self).__init__(rdclass, rdtype) + super(A, self).__init__(rdclass, rdtype, address, domain) self.domain = domain self.address = address