summaryrefslogtreecommitdiff
path: root/dns/zone.py
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-01-15 17:27:27 +0100
committerPetr Spacek <pspacek@redhat.com>2015-02-12 12:34:17 +0100
commit90e85fa5196159a12f005d0e3383e893283a707c (patch)
tree81d434dca55dfd34e585649990871518175d0bf4 /dns/zone.py
parenta4bdb7113dba8ed819d8454a1e8f2916ee33d9a6 (diff)
downloaddnspython-90e85fa5196159a12f005d0e3383e893283a707c.tar.gz
Amend doc strings for all DNSExceptions to make them suitable for direct printing.
Diffstat (limited to 'dns/zone.py')
-rw-r--r--dns/zone.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/dns/zone.py b/dns/zone.py
index 6f5adf5..b7fc6dd 100644
--- a/dns/zone.py
+++ b/dns/zone.py
@@ -37,19 +37,19 @@ except ImportError:
from io import StringIO
class BadZone(dns.exception.DNSException):
- """The zone is malformed."""
+ """The DNS zone is malformed."""
pass
class NoSOA(BadZone):
- """The zone has no SOA RR at its origin."""
+ """The DNS zone has no SOA RR at its origin."""
pass
class NoNS(BadZone):
- """The zone has no NS RRset at its origin."""
+ """The DNS zone has no NS RRset at its origin."""
pass
class UnknownOrigin(BadZone):
- """The zone's origin is unknown."""
+ """The DNS zone's origin is unknown."""
pass
class Zone(object):