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/GenFds/CapsuleData.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'BaseTools/Source/Python/GenFds/CapsuleData.py') diff --git a/BaseTools/Source/Python/GenFds/CapsuleData.py b/BaseTools/Source/Python/GenFds/CapsuleData.py index 83b2731110..9d17bf5afe 100644 --- a/BaseTools/Source/Python/GenFds/CapsuleData.py +++ b/BaseTools/Source/Python/GenFds/CapsuleData.py @@ -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), -- cgit v1.2.3