]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Remove duplicated words in Python tools
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 3 Oct 2022 07:47:32 +0000 (15:47 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Oct 2022 06:32:07 +0000 (06:32 +0000)
In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
BaseTools/Source/Python/Ecc/EccToolError.py
BaseTools/Source/Python/build/build.py

index d97bf7948ce843d13e7e102c0b626ee7933bcb36..2ff36c8329cce80bf16e6b9b00f4a82185d5806b 100644 (file)
@@ -186,7 +186,7 @@ gEccErrorMessage = {
     ERROR_META_DATA_FILE_CHECK_BINARY_INF_IN_FDF : "An INF file is specified in the FDF file, but not in the DSC file, therefore the INF file must be for a Binary module only",\r
     ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE : "Duplicate PCDs found",\r
     ERROR_META_DATA_FILE_CHECK_PCD_FLASH : "PCD settings in the FDF file should only be related to flash",\r
-    ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs declared in INF files that are not specified in in either a DSC or FDF file",\r
+    ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs declared in INF files that are not specified in either a DSC or FDF file",\r
     ERROR_META_DATA_FILE_CHECK_DUPLICATE_GUID : "Duplicate GUID found",\r
     ERROR_META_DATA_FILE_CHECK_DUPLICATE_PROTOCOL : "Duplicate PROTOCOL found",\r
     ERROR_META_DATA_FILE_CHECK_DUPLICATE_PPI : "Duplicate PPI found",\r
index 07187c03618a28c734b8d46abd22cc3f6a35d4a4..51fb1f433eb7878d3721e882a7ff8e19cfee4297 100755 (executable)
@@ -205,7 +205,7 @@ class MakeSubProc(Popen):
 #\r
 # This method will call subprocess.Popen to execute an external program with\r
 # given options in specified directory. Because of the dead-lock issue during\r
-# redirecting output of the external program, threads are used to to do the\r
+# redirecting output of the external program, threads are used to do the\r
 # redirection work.\r
 #\r
 # @param  Command               A list or string containing the call of the program\r