diff options
| author | Petr Spacek <pspacek@redhat.com> | 2015-01-16 13:10:46 +0100 |
|---|---|---|
| committer | Petr Spacek <pspacek@redhat.com> | 2015-02-12 12:38:31 +0100 |
| commit | d9c524e65c324b5dbf8bef51bb3c193575d2325b (patch) | |
| tree | de952957738b710861450844529d57285fbbdd4b /dns/name.py | |
| parent | e1a53dfc61dd7c6abc5034497249192ee3dff078 (diff) | |
| download | dnspython-d9c524e65c324b5dbf8bef51bb3c193575d2325b.tar.gz | |
Remove redundant 'pass' from class definitions.
Diffstat (limited to 'dns/name.py')
| -rw-r--r-- | dns/name.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dns/name.py b/dns/name.py index 8ffa674..44af098 100644 --- a/dns/name.py +++ b/dns/name.py @@ -39,42 +39,33 @@ NAMERELN_COMMONANCESTOR = 4 class EmptyLabel(dns.exception.SyntaxError): """A DNS label is empty.""" - pass class BadEscape(dns.exception.SyntaxError): """An escaped code in a text format of DNS name is invalid.""" - pass class BadPointer(dns.exception.FormError): """A DNS compression pointer points forward instead of backward.""" - pass class BadLabelType(dns.exception.FormError): """The label type in DNS name wire format is unknown.""" - pass class NeedAbsoluteNameOrOrigin(dns.exception.DNSException): """An attempt was made to convert a non-absolute name to wire when there was also a non-absolute (or missing) origin.""" - pass class NameTooLong(dns.exception.FormError): """A DNS name is > 255 octets long.""" - pass class LabelTooLong(dns.exception.SyntaxError): """A DNS label is > 63 octets long.""" - pass class AbsoluteConcatenation(dns.exception.DNSException): """An attempt was made to append anything other than the empty name to an absolute DNS name.""" - pass class NoParent(dns.exception.DNSException): """An attempt was made to get the parent of the root name or the empty name.""" - pass class LabelMixesUnicodeAndASCII(dns.exception.SyntaxError): """Raised if a label mixes Unicode characters and ASCII escapes.""" |
