summaryrefslogtreecommitdiff
path: root/dns/rdata.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-04-02 08:42:24 -0700
committerBob Halley <halley@dnspython.org>2020-04-02 08:42:24 -0700
commit7ce94357a53265bc30662e11aec63a8fcaf97a2b (patch)
tree642410d9834dff62d3ecac0d5d53d7ac8d753027 /dns/rdata.py
parent90d7ac7cf527e59965fab6f64526dd77b5235c80 (diff)
downloaddnspython-7ce94357a53265bc30662e11aec63a8fcaf97a2b.tar.gz
delint
Diffstat (limited to 'dns/rdata.py')
-rw-r--r--dns/rdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdata.py b/dns/rdata.py
index 14f4139..f207168 100644
--- a/dns/rdata.py
+++ b/dns/rdata.py
@@ -100,7 +100,7 @@ def _constify(o):
try:
hash(o)
return o
- except:
+ except Exception:
return tuple(_constify(elt) for elt in o)
if type(o) == list:
return tuple(_constify(elt) for elt in o)