[PATCH 2/2] BaseTools: Remove duplicated words in Python tools


PierreGondois
 

From: Pierre Gondois <pierre.gondois@...>

In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Bob Feng <bob.c.feng@...>
Cc: Liming Gao <gaoliming@...>
Reviewed-by: Bob Feng <bob.c.feng@...>
Signed-off-by: Pierre Gondois <pierre.gondois@...>
---
BaseTools/Source/Python/Ecc/EccToolError.py | 2 +-
BaseTools/Source/Python/build/build.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseTools/Source/Python/Ecc/EccToolError.py b/BaseTools/Sour=
ce/Python/Ecc/EccToolError.py
index d97bf7948ce8..2ff36c8329cc 100644
--- a/BaseTools/Source/Python/Ecc/EccToolError.py
+++ b/BaseTools/Source/Python/Ecc/EccToolError.py
@@ -186,7 +186,7 @@ gEccErrorMessage =3D {
ERROR_META_DATA_FILE_CHECK_BINARY_INF_IN_FDF : "An INF file is speci=
fied in the FDF file, but not in the DSC file, therefore the INF file mus=
t be for a Binary module only",
ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE : "Duplicate PCDs found",
ERROR_META_DATA_FILE_CHECK_PCD_FLASH : "PCD settings in the FDF file=
should only be related to flash",
- ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs dec=
lared in INF files that are not specified in in either a DSC or FDF file"=
,
+ ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs dec=
lared in INF files that are not specified in either a DSC or FDF file",
ERROR_META_DATA_FILE_CHECK_DUPLICATE_GUID : "Duplicate GUID found",
ERROR_META_DATA_FILE_CHECK_DUPLICATE_PROTOCOL : "Duplicate PROTOCOL =
found",
ERROR_META_DATA_FILE_CHECK_DUPLICATE_PPI : "Duplicate PPI found",
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Py=
thon/build/build.py
index 07187c03618a..51fb1f433eb7 100755
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -205,7 +205,7 @@ class MakeSubProc(Popen):
#
# This method will call subprocess.Popen to execute an external program =
with
# given options in specified directory. Because of the dead-lock issue d=
uring
-# redirecting output of the external program, threads are used to to do =
the
+# redirecting output of the external program, threads are used to do the
# redirection work.
#
# @param Command A list or string containing the call of =
the program
--=20
2.25.1