summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@nominum.com>2010-05-04 15:22:59 +0100
committerBob Halley <halley@nominum.com>2010-05-04 15:22:59 +0100
commit658442c75b6e086271f1384f160bce0cd1674be8 (patch)
treea65a4b3f19181b89c1cf31dcd97feec2c30898ca
parente80c56c6c5c6dd7aa12c439b1f3b664811f65dcb (diff)
downloaddnspython-658442c75b6e086271f1384f160bce0cd1674be8.tar.gz
When initializing an RRset, pass covers to the superclass
-rw-r--r--ChangeLog6
-rw-r--r--dns/rrset.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 73a66ed..5e6106e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-04 Bob Halley <halley@dnspython.org>
+
+ * 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 <halley@dnspython.org>
* The TSIG algorithm value was passed to use_tsig() incorrectly
diff --git a/dns/rrset.py b/dns/rrset.py
index 7f6c4af..5a66dc6 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