BaseTools: replace the list iteritems by items
replace the list iteritems by items in Python3. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
d3678942b4
commit
5135cc4852
@ -2178,7 +2178,7 @@ class Build():
|
||||
|
||||
# Look through the tool definitions for GUIDed tools
|
||||
guidAttribs = []
|
||||
for (attrib, value) in self.ToolDef.ToolsDefTxtDictionary.iteritems():
|
||||
for (attrib, value) in self.ToolDef.ToolsDefTxtDictionary.items():
|
||||
if attrib.upper().endswith('_GUID'):
|
||||
split = attrib.split('_')
|
||||
thisPrefix = '_'.join(split[0:3]) + '_'
|
||||
|
Reference in New Issue
Block a user