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:

committed by
Nico Williams

parent
76b2f15729
commit
926b3aae82
@@ -57,7 +57,7 @@ def symbols(tabledict, tables):
|
|||||||
list = list + tabledict.get(x, [])
|
list = list + tabledict.get(x, [])
|
||||||
if len(list) == 0:
|
if len(list) == 0:
|
||||||
return ""
|
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():
|
def get_errorlist():
|
||||||
d = dict()
|
d = dict()
|
||||||
|
Reference in New Issue
Block a user