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:
@ -32,13 +32,13 @@ class CapsuleData:
|
||||
# @param self The object pointer
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
## generate capsule data
|
||||
#
|
||||
# @param self The object pointer
|
||||
def GenCapsuleSubItem(self):
|
||||
pass
|
||||
|
||||
|
||||
## FFS class for capsule data
|
||||
#
|
||||
#
|
||||
@ -119,7 +119,7 @@ class CapsuleFd (CapsuleData):
|
||||
else:
|
||||
FdFile = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FdName)
|
||||
return FdFile
|
||||
|
||||
|
||||
## AnyFile class for capsule data
|
||||
#
|
||||
#
|
||||
@ -139,7 +139,7 @@ class CapsuleAnyFile (CapsuleData):
|
||||
#
|
||||
def GenCapsuleSubItem(self):
|
||||
return self.FileName
|
||||
|
||||
|
||||
## Afile class for capsule data
|
||||
#
|
||||
#
|
||||
@ -208,11 +208,11 @@ class CapsulePayload(CapsuleData):
|
||||
Guid = self.ImageTypeId.split('-')
|
||||
Buffer = pack('=ILHHBBBBBBBBBBBBIIQ',
|
||||
int(self.Version, 16),
|
||||
int(Guid[0], 16),
|
||||
int(Guid[1], 16),
|
||||
int(Guid[2], 16),
|
||||
int(Guid[3][-4:-2], 16),
|
||||
int(Guid[3][-2:], 16),
|
||||
int(Guid[0], 16),
|
||||
int(Guid[1], 16),
|
||||
int(Guid[2], 16),
|
||||
int(Guid[3][-4:-2], 16),
|
||||
int(Guid[3][-2:], 16),
|
||||
int(Guid[4][-12:-10], 16),
|
||||
int(Guid[4][-10:-8], 16),
|
||||
int(Guid[4][-8:-6], 16),
|
||||
|
Reference in New Issue
Block a user