PY3: string.upper not in PY3
authorNoel Power <noel.power@suse.com>
Fri, 3 Aug 2018 11:53:08 +0000 (12:53 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Sep 2018 04:16:20 +0000 (06:16 +0200)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal/lib/wind/stringprep.py

index 249b1dc2a1ca7ab75dc5fec353f3df36045ddbf2..cff4d02a7b6dab63e2ac55d85ca3f2884cd50c93 100644 (file)
@@ -57,7 +57,7 @@ def symbols(tabledict, tables):
         list = list + tabledict.get(x, [])
     if len(list) == 0:
         return ""
-    return "|".join(map(lambda x: "WIND_PROFILE_%s" % (string.upper(x)), list))
+    return "|".join(map(lambda x: "WIND_PROFILE_%s" % (x.upper()), list))
 
 def get_errorlist():
     d = dict()