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:
@ -285,7 +285,7 @@ class GitDiffCheck:
|
||||
if self.state == START:
|
||||
if line.startswith('diff --git'):
|
||||
self.state = PRE_PATCH
|
||||
self.filename = line[13:].split(' ',1)[0]
|
||||
self.filename = line[13:].split(' ', 1)[0]
|
||||
self.is_newfile = False
|
||||
self.force_crlf = not self.filename.endswith('.sh')
|
||||
elif len(line.rstrip()) != 0:
|
||||
|
Reference in New Issue
Block a user