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:
@ -506,8 +506,8 @@ class mainprocess(object):
|
|||||||
for i in range(len(info_list)-1,-1,-1):
|
for i in range(len(info_list)-1,-1,-1):
|
||||||
if len(info_list[i]) == 0:
|
if len(info_list[i]) == 0:
|
||||||
info_list.remove(info_list[i])
|
info_list.remove(info_list[i])
|
||||||
for i in (inf_list, title_all, header_list):
|
for i in (inf_list, title_all, header_list):
|
||||||
i.sort()
|
i.sort()
|
||||||
return keys,title_all,info_list,header_list,inf_list
|
return keys,title_all,info_list,header_list,inf_list
|
||||||
|
|
||||||
def remove_bracket(self,List):
|
def remove_bracket(self,List):
|
||||||
@ -519,9 +519,9 @@ class mainprocess(object):
|
|||||||
List[List.index(i)][i.index(j)] = "|".join(tmp)
|
List[List.index(i)][i.index(j)] = "|".join(tmp)
|
||||||
else:
|
else:
|
||||||
List[List.index(i)][i.index(j)] = j
|
List[List.index(i)][i.index(j)] = j
|
||||||
for i in List:
|
for i in List:
|
||||||
if type(i) == type([0,0]):
|
if type(i) == type([0,0]):
|
||||||
i.sort()
|
i.sort()
|
||||||
return List
|
return List
|
||||||
|
|
||||||
def write_all(self):
|
def write_all(self):
|
||||||
|
Reference in New Issue
Block a user