summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2014-08-21 07:51:21 +0000
committerhchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-21 07:51:21 +0000
commit0923aa1c3ad1a68f4781a98897889f3976d1b83d (patch)
tree0995d8898f2031e96be0decf6b3c93c7eccb709e /BaseTools/Source/Python/Common
parent07b8564b113431f70ef4fcc469a42be5e4700263 (diff)
downloadedk2-platforms-0923aa1c3ad1a68f4781a98897889f3976d1b83d.tar.xz
This patch is going to:
1. Skip the content defined in USER EXTENSION section without raising an error. 2. Wrap os.utime to use two arguments. 3. Add GenFdsCommand for PlatformAutoGen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15865 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Common')
-rw-r--r--BaseTools/Source/Python/Common/LongFilePathOs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Common/LongFilePathOs.py b/BaseTools/Source/Python/Common/LongFilePathOs.py
index 66d93d25f3..2e530f9dd7 100644
--- a/BaseTools/Source/Python/Common/LongFilePathOs.py
+++ b/BaseTools/Source/Python/Common/LongFilePathOs.py
@@ -48,8 +48,8 @@ def chmod(path, mode):
def stat(path):
return os.stat(LongFilePath(path))
-def utime(path):
- return os.utime(LongFilePath(path), None)
+def utime(path, times):
+ return os.utime(LongFilePath(path), times)
def listdir(path):
List = []