]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Fix exception when reading from a masterfile.
authorBob Halley <halley@dnspython.org>
Sat, 21 Jun 2014 14:45:14 +0000 (07:45 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 21 Jun 2014 14:45:14 +0000 (07:45 -0700)
commit56ab1a15c8d4b6a26e0643e5ce3aac7e09f2c9b5
treef316ea4894c049408cbb199efba8bb8dc04e71d4
parentf962db12ce3cb46ae61ef3e55ad8369be30447ec
Fix exception when reading from a masterfile.

When reading from a masterfile, if the first content line started
with leading whitespace, we raised an ugly exception instead of
doing the right thing, namely using the zone origin as the name.
[#73]
ChangeLog
dns/zone.py
tests/test_zone.py