From f7496d717357b9af78414d19679b073403812340 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Thu, 5 Jul 2018 17:40:04 +0800 Subject: BaseTools: Clean up source files 1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Yonghong Zhu Reviewed-by: Yonghong Zhu --- BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py') diff --git a/BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py b/BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py index cf2fc7c4f7..8e243aea96 100644 --- a/BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py +++ b/BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py @@ -30,14 +30,14 @@ from Common.DataType import * # Version and Copyright __version_number__ = ("0.10" + " " + gBUILD_VERSION) __version__ = "%prog Version " + __version_number__ -__copyright__ = "Copyright (c) 2010, Intel Corporation. All rights reserved." +__copyright__ = "Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved." ## PatchBinaryFile method # # This method mainly patches the data into binary file. -# +# # @param FileName File path of the binary file -# @param ValueOffset Offset value +# @param ValueOffset Offset value # @param TypeName DataType Name # @param Value Value String # @param MaxSize MaxSize value @@ -173,7 +173,7 @@ def PatchBinaryFile(FileName, ValueOffset, TypeName, ValueString, MaxSize=0): return PARAMETER_INVALID, "PCD Value %s is not valid dec or hex string array." % (ValueString) else: # - # Patch ascii string + # Patch ascii string # Index = 0 for ByteString in ValueString[1:-1]: -- cgit v1.2.3