diff options
| author | Bob Halley <halley@dnspython.org> | 2020-08-03 05:02:54 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-08-03 05:02:54 -0700 |
| commit | 742df9bd7711b39d12f6d2e6c66ee0d7370a2cce (patch) | |
| tree | ecad3518b203c2e6ff2198ca3eec65d1becbc3cf /dns/rcode.py | |
| parent | 017704f9b4dfb8eaecf0c2b47565bc69b2ac4e2f (diff) | |
| download | dnspython-constants.tar.gz | |
restore globalsconstants
Diffstat (limited to 'dns/rcode.py')
| -rw-r--r-- | dns/rcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dns/rcode.py b/dns/rcode.py index 3206b06..dc2d764 100644 --- a/dns/rcode.py +++ b/dns/rcode.py @@ -74,6 +74,7 @@ class Rcode(dns.enum.IntEnum): # pylint: disable=C0413,W0401,W0614 from dns.constants._rcode_rcode import * # noqa +globals().update(Rcode.__members__) # pylint: enable=C0413,W0401,W0614 class UnknownRcode(dns.exception.DNSException): |
