From: Bob Halley Date: Mon, 1 Sep 2014 00:29:23 +0000 (-0700) Subject: Fix python3 port problem. X-Git-Tag: v1.12.0-py3~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d2a4209846ded302b78985d6f53e7f791cabab8;p=thirdparty%2Fdnspython.git Fix python3 port problem. --- diff --git a/dns/rdtypes/ANY/DNSKEY.py b/dns/rdtypes/ANY/DNSKEY.py index c8beceb3..246a2fd4 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):