PY3: iterkeys -> keys
authorNoel Power <noel.power@suse.com>
Fri, 3 Aug 2018 11:48:07 +0000 (12:48 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Sep 2018 04:16:19 +0000 (06:16 +0200)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal/lib/wind/gen-errorlist.py

index bf70ddff07ea81eb1b1eb788dffaf04a126d419a..29ab9a4bb6b5ff67d62296ba95740c9d95ca9b6f 100644 (file)
@@ -85,7 +85,7 @@ const struct error_entry _wind_errorlist_table[] = {
 
 trans=[]
 
-for t in error_list.iterkeys():
+for t in error_list.keys():
     for l in tables[t]:
         m = re.search('^ *([0-9A-F]+)-([0-9A-F]+); *(.*) *$', l)
         if m: