From 899ef5d186c2c44f63c1cbf415daa33e9f668a5b Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 3 Aug 2018 12:53:08 +0100 Subject: [PATCH] PY3: string.upper not in PY3 Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- source4/heimdal/lib/wind/stringprep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/heimdal/lib/wind/stringprep.py b/source4/heimdal/lib/wind/stringprep.py index 249b1dc2a1c..cff4d02a7b6 100644 --- a/source4/heimdal/lib/wind/stringprep.py +++ b/source4/heimdal/lib/wind/stringprep.py @@ -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()