[edk2-devel] [PATCH 8/9] BaseTools: correct line endings for ConvertFce Python script
Bob Feng
bob.c.feng at intel.com
Thu Sep 19 02:51:08 UTC 2019
Reviewed-by: Bob Feng <bob.c.feng at intel.com>
-----Original Message-----
From: devel at edk2.groups.io [mailto:devel at edk2.groups.io] On Behalf Of Leif Lindholm
Sent: Thursday, September 19, 2019 6:44 AM
To: devel at edk2.groups.io
Cc: Feng, Bob C <bob.c.feng at intel.com>; Gao, Liming <liming.gao at intel.com>
Subject: [edk2-devel] [PATCH 8/9] BaseTools: correct line endings for ConvertFce Python script
Cc: Bob Feng <bob.c.feng at intel.com>
Cc: Liming Gao <liming.gao at intel.com>
Signed-off-by: Leif Lindholm <leif.lindholm at linaro.org>
---
BaseTools/Scripts/ConvertFceToStructurePcd.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/BaseTools/Scripts/ConvertFceToStructurePcd.py b/BaseTools/Scripts/ConvertFceToStructurePcd.py
index 10f19dbe2f3c..89e6a727a201 100644
--- a/BaseTools/Scripts/ConvertFceToStructurePcd.py
+++ b/BaseTools/Scripts/ConvertFceToStructurePcd.py
@@ -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):
--
2.20.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#47527): https://edk2.groups.io/g/devel/message/47527
Mute This Topic: https://groups.io/mt/34193908/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list