diff options
| author | Bob Halley <halley@dnspython.org> | 2020-06-25 17:14:13 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-06-25 17:14:13 -0700 |
| commit | 171773e96cd5ab561f1c80deea1c6cbb0ca9bcd9 (patch) | |
| tree | 1f066e479875950f810700f86ba9c5c68bd2813a /dns/update.py | |
| parent | 005e472d864d84838fff6e96a16f63f9a2a7a5f5 (diff) | |
| download | dnspython-171773e96cd5ab561f1c80deea1c6cbb0ca9bcd9.tar.gz | |
set update section globals for convenience; fix formatting
Diffstat (limited to 'dns/update.py')
| -rw-r--r-- | dns/update.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dns/update.py b/dns/update.py index 05e9a53..2aa8ca5 100644 --- a/dns/update.py +++ b/dns/update.py @@ -38,6 +38,8 @@ class UpdateSection(dns.enum.IntEnum): def _maximum(cls): return 3 +globals().update(UpdateSection.__members__) + class Update(dns.message.Message): |
