BaseTools: Adjust the spaces around commas and colons
Based on "futurize -f lib2to3.fixes.fix_ws_comma" Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@ -65,7 +65,7 @@ class FvImageSection(FvImageSectionClassObject):
|
||||
for FvFileName in FileList:
|
||||
FvAlignmentValue = 0
|
||||
if os.path.isfile(FvFileName):
|
||||
FvFileObj = open (FvFileName,'rb')
|
||||
FvFileObj = open (FvFileName, 'rb')
|
||||
FvFileObj.seek(0)
|
||||
# PI FvHeader is 0x48 byte
|
||||
FvHeaderBuffer = FvFileObj.read(0x48)
|
||||
@ -113,7 +113,7 @@ class FvImageSection(FvImageSectionClassObject):
|
||||
if self.FvFileName is not None:
|
||||
FvFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FvFileName)
|
||||
if os.path.isfile(FvFileName):
|
||||
FvFileObj = open (FvFileName,'rb')
|
||||
FvFileObj = open (FvFileName, 'rb')
|
||||
FvFileObj.seek(0)
|
||||
# PI FvHeader is 0x48 byte
|
||||
FvHeaderBuffer = FvFileObj.read(0x48)
|
||||
|
Reference in New Issue
Block a user