diff options
| author | Bob Halley <halley@dnspython.org> | 2020-07-26 10:57:47 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-07-26 10:57:47 -0700 |
| commit | 49beea0f67deea7f47dd3c53d753fbf84bc42979 (patch) | |
| tree | 6c8b00335cae29cbeac8f3ce1a93c5bc83f91d08 /dns | |
| parent | f96e95c4593b1e39816c20b30dc528a6497717ea (diff) | |
| download | dnspython-49beea0f67deea7f47dd3c53d753fbf84bc42979.tar.gz | |
increase EDNS coverage
Diffstat (limited to 'dns')
| -rw-r--r-- | dns/edns.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/edns.py b/dns/edns.py index 05f76e6..087592b 100644 --- a/dns/edns.py +++ b/dns/edns.py @@ -190,8 +190,8 @@ class ECSOption(Option): self.family = 1 if srclen is None: srclen = 24 - else: - raise ValueError('Bad ip family') + else: # pragma: no cover (this will never happen) + raise ValueError('Bad address family') self.address = address self.srclen = srclen |
