BaseTools: Fixed metafile parser issues
https://bugzilla.tianocore.org/show_bug.cgi?id=1406
This patch is going to fix the regressions that
is introduced by commit 2f818ed0fb
The internal array for storing the metadata info should be cached
so that the meta file is parsed only once in one build.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -163,10 +163,10 @@ class WorkspaceDatabase(object):
|
||||
self.TransformObject = WorkspaceDatabase.TransformObjectFactory(self)
|
||||
|
||||
def SetFileTimeStamp(self,FileId,TimeStamp):
|
||||
self.TblFile[FileId][6] = TimeStamp
|
||||
self.TblFile[FileId-1][6] = TimeStamp
|
||||
|
||||
def GetFileTimeStamp(self,FileId):
|
||||
return self.TblFile[FileId][6]
|
||||
return self.TblFile[FileId-1][6]
|
||||
|
||||
|
||||
## Summarize all packages in the database
|
||||
|
Reference in New Issue
Block a user