From: Noel Power Date: Fri, 3 Aug 2018 11:53:08 +0000 (+0100) Subject: PY3: string.upper not in PY3 X-Git-Tag: tdb-1.3.17~1548 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899ef5d186c2c44f63c1cbf415daa33e9f668a5b;p=thirdparty%2Fsamba.git PY3: string.upper not in PY3 Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- 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()