From: "Leif Lindholm" <leif.lindholm@linaro.org>
To: devel@edk2.groups.io
Cc: Bob Feng <bob.c.feng@intel.com>, Liming Gao <liming.gao@intel.com>
Subject: [PATCH v2 8/9] BaseTools: correct line endings for ConvertFce Python script
Date: Thu, 19 Sep 2019 17:03:18 +0100 [thread overview]
Message-ID: <20190919160319.16270-9-leif.lindholm@linaro.org> (raw)
In-Reply-To: <20190919160319.16270-1-leif.lindholm@linaro.org>
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>
---
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
next prev parent reply other threads:[~2019-09-19 16:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-19 16:03 [PATCH v2 0/9] Various line ending and encoding fixes Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 1/9] BaseTools: add missing newlines at end of files Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 2/9] EmbeddedPkg: add missing newline at end of TemplateResetSystemLib.inf Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 3/9] NetworkPkg: add missing newline at end of file Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 4/9] EmbeddedPkg: delete outdated FdtLib README.txt Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 5/9] BaseTools: fix line endings in SetupGit.py Conf files Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 6/9] DynamicTablesPkg: fix .dsc line ending Leif Lindholm
2019-09-19 16:03 ` [PATCH v2 7/9] ArmPkg: ArmScmiDxe - convert .h to from 8859-x to 7-bit Leif Lindholm
2019-09-19 16:03 ` Leif Lindholm [this message]
2019-09-19 16:03 ` [PATCH v2 9/9] EmbeddedPkg: convert Lauterbach README.txt to 7-bit safe Readme.md Leif Lindholm
2019-09-20 15:06 ` [edk2-devel] [PATCH v2 0/9] Various line ending and encoding fixes Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190919160319.16270-9-leif.lindholm@linaro.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox