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/name.py | |
| parent | 4b03ff04068779d44155b5268e96b14ce0a390cf (diff) | |
| download | dnspython-368835bdf581467b0d7324eda0effc6ca09e618e.tar.gz | |
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
Diffstat (limited to 'dns/name.py')
| -rw-r--r-- | dns/name.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/name.py b/dns/name.py index 9764de5..2b159b4 100644 --- a/dns/name.py +++ b/dns/name.py @@ -98,7 +98,7 @@ class NoIDNA2008(dns.exception.DNSException): class IDNAException(dns.exception.DNSException): """IDNA processing raised an exception.""" - supp_kwargs = set(['idna_exception']) + supp_kwargs = {'idna_exception'} fmt = "IDNA processing exception: {idna_exception}" |
