Hi ,

I am using dnspython- 1.8.0 version. I was creating some rrset object using
the dns.rrset.RRset class.
This class was working fine for all the types except RRSIG. So i checked the
documentation and found that i need to use the covered type for the RRSIG.
but this also failed and later found that covered type sent to the init
method of RRset class was not used to initialize the RRset object. Looks
like a bug. Could any one clarify this one?

"""
class RRset(dns.rdataset.Rdataset):

    """A DNS RRset (named rdataset).

    RRset inherits from Rdataset, and RRsets can be treated as
    Rdatasets in most cases.  There are, however, a few notable
    exceptions.  RRsets have different to_wire() and to_text() method
    arguments, reflecting the fact that RRsets always have an owner
    name.
    """

    __slots__ = ['name', 'deleting']

    def __init__(self, name, rdclass, rdtype, covers=dns.rdatatype.NONE,
                 deleting=None):
        """Create a new RRset."""

        super(RRset, self).__init__(rdclass, rdtype)
        self.name = name
        self.deleting = deleting
"""



-- 

[]Shan
_______________________________________________
dnspython-bugs mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-bugs

Reply via email to