From: Bob Halley Date: Tue, 4 May 2010 14:22:59 +0000 (+0100) Subject: When initializing an RRset, pass covers to the superclass X-Git-Tag: v1.9.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=658442c75b6e086271f1384f160bce0cd1674be8;p=thirdparty%2Fdnspython.git When initializing an RRset, pass covers to the superclass --- diff --git a/ChangeLog b/ChangeLog index 73a66ede..5e6106e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-04 Bob Halley + + * dns/rrset.py (RRset.__init__): "covers" was not passed to the + superclass __init__(). Thanks to Shanmuga Rajan for reporting + the problem. + 2010-03-10 Bob Halley * The TSIG algorithm value was passed to use_tsig() incorrectly diff --git a/dns/rrset.py b/dns/rrset.py index 7f6c4afe..5a66dc6e 100644 --- a/dns/rrset.py +++ b/dns/rrset.py @@ -36,7 +36,7 @@ class RRset(dns.rdataset.Rdataset): deleting=None): """Create a new RRset.""" - super(RRset, self).__init__(rdclass, rdtype) + super(RRset, self).__init__(rdclass, rdtype, covers) self.name = name self.deleting = deleting