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/opcode.py | |
| parent | 017704f9b4dfb8eaecf0c2b47565bc69b2ac4e2f (diff) | |
| download | dnspython-constants.tar.gz | |
restore globalsconstants
Diffstat (limited to 'dns/opcode.py')
| -rw-r--r-- | dns/opcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dns/opcode.py b/dns/opcode.py index 0bd6526..89040df 100644 --- a/dns/opcode.py +++ b/dns/opcode.py @@ -42,6 +42,7 @@ class Opcode(dns.enum.IntEnum): # pylint: disable=C0413,W0401,W0614 from dns.constants._opcode_opcode import * # noqa +globals().update(Opcode.__members__) # pylint: enable=C0413,W0401,W0614 |
