summaryrefslogtreecommitdiff
path: root/dns/update.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-25 17:14:13 -0700
committerBob Halley <halley@dnspython.org>2020-06-25 17:14:13 -0700
commit171773e96cd5ab561f1c80deea1c6cbb0ca9bcd9 (patch)
tree1f066e479875950f810700f86ba9c5c68bd2813a /dns/update.py
parent005e472d864d84838fff6e96a16f63f9a2a7a5f5 (diff)
downloaddnspython-171773e96cd5ab561f1c80deea1c6cbb0ca9bcd9.tar.gz
set update section globals for convenience; fix formatting
Diffstat (limited to 'dns/update.py')
-rw-r--r--dns/update.py2
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):