]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
FIxes pylint complaints. 341/head
authorBjörn Victor <bjorn@victor.se>
Sun, 18 Nov 2018 15:39:51 +0000 (16:39 +0100)
committerBjörn Victor <bjorn@victor.se>
Sun, 18 Nov 2018 15:39:51 +0000 (16:39 +0100)
dns/rdtypes/CH/A.py

index ce39b751b8872d1a86867e0dce55b57a6748f86c..a24ddce75d4f9bcb190bec17fb3877738daa25f5 100644 (file)
@@ -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