1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

PY3: string.upper not in PY3

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2018-08-03 12:53:08 +01:00 committed by Andrew Bartlett
parent eceb99708f
commit 899ef5d186

View 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()