BaseTools: correct line endings for ConvertFce Python script

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
Leif Lindholm 2019-09-18 22:41:08 +01:00
parent 3afcba4a8f
commit d79b63c64f
1 changed files with 5 additions and 5 deletions

View File

@ -506,8 +506,8 @@ class mainprocess(object):
for i in range(len(info_list)-1,-1,-1):
if len(info_list[i]) == 0:
info_list.remove(info_list[i])
for i in (inf_list, title_all, header_list):
i.sort()
for i in (inf_list, title_all, header_list):
i.sort()
return keys,title_all,info_list,header_list,inf_list
def remove_bracket(self,List):
@ -519,9 +519,9 @@ class mainprocess(object):
List[List.index(i)][i.index(j)] = "|".join(tmp)
else:
List[List.index(i)][i.index(j)] = j
for i in List:
if type(i) == type([0,0]):
i.sort()
for i in List:
if type(i) == type([0,0]):
i.sort()
return List
def write_all(self):