summaryrefslogtreecommitdiff
path: root/dns/exception.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-09-06 14:18:29 +0300
committerHugo <hugovk@users.noreply.github.com>2018-09-06 14:18:29 +0300
commit368835bdf581467b0d7324eda0effc6ca09e618e (patch)
tree24fca8c7ede7aec00527da1b13d72e67412e240c /dns/exception.py
parent4b03ff04068779d44155b5268e96b14ce0a390cf (diff)
downloaddnspython-368835bdf581467b0d7324eda0effc6ca09e618e.tar.gz
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
Diffstat (limited to 'dns/exception.py')
-rw-r--r--dns/exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/exception.py b/dns/exception.py
index 89aee9c..57f2bc1 100644
--- a/dns/exception.py
+++ b/dns/exception.py
@@ -122,5 +122,5 @@ class TooBig(DNSException):
class Timeout(DNSException):
"""The DNS operation timed out."""
- supp_kwargs = set(['timeout'])
+ supp_kwargs = {'timeout'}
fmt = "The DNS operation timed out after {timeout} seconds"