]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix cut-and-paste error
authorBob Halley <halley@dnspython.org>
Fri, 26 Jun 2020 13:40:40 +0000 (06:40 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 26 Jun 2020 13:40:40 +0000 (06:40 -0700)
dns/message.py

index 25a8102574a739113742084a8f908227ed2b3f81..e40e043f7f44a4886c417c7c54b7afa56d44f755 100644 (file)
@@ -189,9 +189,6 @@ class Message:
             s.write('payload %d\n' % self.payload)
         for opt in self.options:
             s.write('option %s\n' % opt.to_text())
-
-            s.write(rrset.to_text(origin, relativize, **kw))
-            s.write('\n')
         for (name, which) in self._section_enum.__members__.items():
             s.write(f';{name}\n')
             for rrset in self.section_from_number(which):