diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2018-09-06 14:18:29 +0300 |
|---|---|---|
| committer | Hugo <hugovk@users.noreply.github.com> | 2018-09-06 14:18:29 +0300 |
| commit | 368835bdf581467b0d7324eda0effc6ca09e618e (patch) | |
| tree | 24fca8c7ede7aec00527da1b13d72e67412e240c /dns/exception.py | |
| parent | 4b03ff04068779d44155b5268e96b14ce0a390cf (diff) | |
| download | dnspython-368835bdf581467b0d7324eda0effc6ca09e618e.tar.gz | |
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
Diffstat (limited to 'dns/exception.py')
| -rw-r--r-- | dns/exception.py | 2 |
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" |
