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/flags.py | |
| parent | 017704f9b4dfb8eaecf0c2b47565bc69b2ac4e2f (diff) | |
| download | dnspython-constants.tar.gz | |
restore globalsconstants
Diffstat (limited to 'dns/flags.py')
| -rw-r--r-- | dns/flags.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dns/flags.py b/dns/flags.py index 589f4d8..456b5ae 100644 --- a/dns/flags.py +++ b/dns/flags.py @@ -46,6 +46,8 @@ class EDNSFlag(enum.IntFlag): # pylint: disable=C0413,W0401,W0614 from dns.constants._flags_flag import * # noqa from dns.constants._flags_ednsflag import * # noqa +globals().update(Flag.__members__) +globals().update(EDNSFlag.__members__) # pylint: enable=C0413,W0401,W0614 def _from_text(text, enum_class): |
