summaryrefslogtreecommitdiff
path: root/dns/resolver.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/resolver.py
parente1a53dfc61dd7c6abc5034497249192ee3dff078 (diff)
downloaddnspython-d9c524e65c324b5dbf8bef51bb3c193575d2325b.tar.gz
Remove redundant 'pass' from class definitions.
Diffstat (limited to 'dns/resolver.py')
-rw-r--r--dns/resolver.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/dns/resolver.py b/dns/resolver.py
index 788b7c5..387bd50 100644
--- a/dns/resolver.py
+++ b/dns/resolver.py
@@ -48,11 +48,9 @@ if sys.platform == 'win32':
class NXDOMAIN(dns.exception.DNSException):
"""The DNS query name does not exist."""
- pass
class YXDOMAIN(dns.exception.DNSException):
"""The DNS query name is too long after DNAME substitution."""
- pass
# The definition of the Timeout exception has moved from here to the
# dns.exception module. We keep dns.resolver.Timeout defined for
@@ -97,11 +95,9 @@ class NoNameservers(dns.exception.DNSException):
class NotAbsolute(dns.exception.DNSException):
"""An absolute domain name is required but a relative name was provided."""
- pass
class NoRootSOA(dns.exception.DNSException):
"""There is no SOA RR at the DNS root name. This should never happen!"""
- pass
class NoMetaqueries(dns.exception.DNSException):
"""DNS metaqueries are not allowed."""