From: Bob Halley Date: Tue, 7 Jul 2020 12:03:22 +0000 (-0700) Subject: Remove too strong "no metaclasses" check in _parse_rr_header(). X-Git-Tag: v2.0.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3028db2d10e7ea1d4fa48e9dc7594236a5ef1a4;p=thirdparty%2Fdnspython.git Remove too strong "no metaclasses" check in _parse_rr_header(). --- diff --git a/dns/message.py b/dns/message.py index 4b322128..43b837a8 100644 --- a/dns/message.py +++ b/dns/message.py @@ -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,