]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix python3 port problem.
authorBob Halley <halley@dnspython.org>
Mon, 1 Sep 2014 00:29:23 +0000 (17:29 -0700)
committerBob Halley <halley@dnspython.org>
Mon, 1 Sep 2014 00:29:23 +0000 (17:29 -0700)
dns/rdtypes/ANY/DNSKEY.py

index c8beceb38f426e0898a9f82737483db1816a731d..246a2fd494c75587b53744b9d26369fbee8a3749 100644 (file)
@@ -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):