]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Remove too strong "no metaclasses" check in _parse_rr_header().
authorBob Halley <halley@dnspython.org>
Tue, 7 Jul 2020 12:03:22 +0000 (05:03 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 7 Jul 2020 12:03:22 +0000 (05:03 -0700)
dns/message.py

index 4b322128a0347c1d62e6d14086ed167fc93c1341..43b837a82084f98bb5848fa02650cd22b064327b 100644 (file)
@@ -683,8 +683,6 @@ class Message:
         return value
 
     def _parse_rr_header(self, section, name, rdclass, rdtype):
-        if dns.rdataclass.is_metaclass(rdclass):
-            raise dns.exception.FormError
         return (rdclass, rdtype, None, False)
 
     def _parse_special_rr_header(self, section, count, position,