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 <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@ -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]:
|
||||
|
Reference in New Issue
Block a user