]> git.ipfire.org Git - thirdparty/dnspython.git/commit
zone.to_text() should return a string. 431/head
authorBrian Wellington <bwelling@xbill.org>
Fri, 20 Mar 2020 20:58:02 +0000 (13:58 -0700)
committerBrian Wellington <bwelling@xbill.org>
Fri, 20 Mar 2020 20:58:02 +0000 (13:58 -0700)
commit9dc0fa40c8e38dc836642f527d2708ca67428160
tree0407bcef86195696e0176c9b4afb347b5b169c0f
parent41ca1be22dad341709a3856f34fe63aa46da1d1b
zone.to_text() should return a string.

As part of the Python 3 conversion, the result of dns.zone.to_text()
changed from str to bytes.  This was likely unintentional, as a method
with text in its name should be returning text.
dns/zone.py
tests/test_zone.py