summaryrefslogtreecommitdiff
path: root/dns/message.py
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-01-16 13:10:46 +0100
committerPetr Spacek <pspacek@redhat.com>2015-02-12 12:38:31 +0100
commitd9c524e65c324b5dbf8bef51bb3c193575d2325b (patch)
treede952957738b710861450844529d57285fbbdd4b /dns/message.py
parente1a53dfc61dd7c6abc5034497249192ee3dff078 (diff)
downloaddnspython-d9c524e65c324b5dbf8bef51bb3c193575d2325b.tar.gz
Remove redundant 'pass' from class definitions.
Diffstat (limited to 'dns/message.py')
-rw-r--r--dns/message.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/dns/message.py b/dns/message.py
index d672a3a..c1a853c 100644
--- a/dns/message.py
+++ b/dns/message.py
@@ -38,30 +38,24 @@ import dns.wiredata
class ShortHeader(dns.exception.FormError):
"""The DNS packet passed to from_wire() is too short."""
- pass
class TrailingJunk(dns.exception.FormError):
"""The DNS packet passed to from_wire() has extra junk at the end of it."""
- pass
class UnknownHeaderField(dns.exception.DNSException):
"""The header field name was not recognized when converting from text
into a message."""
- pass
class BadEDNS(dns.exception.FormError):
"""OPT record occured somewhere other than the start of
the additional data section."""
- pass
class BadTSIG(dns.exception.FormError):
"""A TSIG record occured somewhere other than the end of
the additional data section."""
- pass
class UnknownTSIGKey(dns.exception.DNSException):
"""A TSIG with an unknown key was received."""
- pass
class Message(object):
"""A DNS message.