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:
@@ -2,7 +2,7 @@ from __future__ import print_function
|
||||
## @file
|
||||
# Utility functions and classes for BaseTools unit tests
|
||||
#
|
||||
# Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -78,7 +78,7 @@ class BaseToolsTest(unittest.TestCase):
|
||||
def HandleTreeDeleteError(self, function, path, excinfo):
|
||||
os.chmod(path, stat.S_IWRITE)
|
||||
function(path)
|
||||
|
||||
|
||||
def RemoveDir(self, dir):
|
||||
shutil.rmtree(dir, False, self.HandleTreeDeleteError)
|
||||
|
||||
|
Reference in New Issue
Block a user