BaseTools/UPT: Porting UPT Tool from Python2 to Python3
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -136,7 +136,7 @@ def Main(Options = None):
|
||||
# strings in your desired encoding before passing them to
|
||||
# write().
|
||||
#
|
||||
FromFile = os.path.normpath(FileObject.GetURI()).encode('utf_8')
|
||||
FromFile = os.path.normpath(FileObject.GetURI())
|
||||
FileFullPath = mws.join(WorkspaceDir, FromFile)
|
||||
if FileFullPath in RePkgDict:
|
||||
(DpGuid, DpVersion, DpName, Repackage) = RePkgDict[FileFullPath]
|
||||
|
Reference in New Issue
Block a user