]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix encoding errors zone.to_file()
authorMartin <martin.basti@gmail.com>
Sun, 3 Jul 2016 00:25:19 +0000 (02:25 +0200)
committerMartin <martin.basti@gmail.com>
Wed, 31 Aug 2016 17:48:04 +0000 (19:48 +0200)
commitaa493a8f0af953c313352bb6aa8a1f99540d4a6d
tree11646571b40987ba1a6aa0e3c0856e352e229f74
parent188aa701a6826c607da0624e31a8c4618d0a8017
Fix encoding errors zone.to_file()

From the code it looks like the only 'wb' mode is supported after migration to py3.
I fixed py3 with 'wb'. Both textual and binary modes should be supported now.
dns/zone.py