PY3: iterkeys -> keys
authorNoel Power <noel.power@suse.com>
Fri, 3 Aug 2018 11:43:26 +0000 (12:43 +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 f0b9524783b44da7f729af550dc11e3b87e6d7cb..bf70ddff07ea81eb1b1eb788dffaf04a126d419a 100644 (file)
@@ -50,7 +50,7 @@ if len(sys.argv) != 3:
 tables = rfc3454.read(sys.argv[1])
 t2 = rfc4518.read()
 
-for x in t2.iterkeys():
+for x in t2.keys():
     tables[x] = t2[x]
 
 error_list = stringprep.get_errorlist()