PY3: string.upper not in PY3

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from Samba commit 899ef5d186c2c44f63c1cbf415daa33e9f668a5b)
This commit is contained in:
Noel Power
2018-08-03 12:53:08 +01:00
committed by Nico Williams
parent 76b2f15729
commit 926b3aae82

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