summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2014-08-31 17:29:23 -0700
committerBob Halley <halley@dnspython.org>2014-08-31 17:29:23 -0700
commit7d2a4209846ded302b78985d6f53e7f791cabab8 (patch)
tree47b65f60cf0d4f116eaff2cd25965b935fc696ec
parent424ad1485c19c4be19e94f10a38ecdd80ddf1a1b (diff)
downloaddnspython-7d2a4209846ded302b78985d6f53e7f791cabab8.tar.gz
Fix python3 port problem.
-rw-r--r--dns/rdtypes/ANY/DNSKEY.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdtypes/ANY/DNSKEY.py b/dns/rdtypes/ANY/DNSKEY.py
index c8beceb..246a2fd 100644
--- a/dns/rdtypes/ANY/DNSKEY.py
+++ b/dns/rdtypes/ANY/DNSKEY.py
@@ -36,7 +36,7 @@ _flag_by_text = {
# We construct the inverse mapping programmatically to ensure that we
# cannot make any mistakes (e.g. omissions, cut-and-paste errors) that
# would cause the mapping not to be true inverse.
-_flag_by_value = dict([(y, x) for x, y in _flag_by_text.iteritems()])
+_flag_by_value = dict([(y, x) for x, y in _flag_by_text.items()])
def flags_to_text_set(flags):