diff options
author | Yunhua Feng <yunhuax.feng@intel.com> | 2018-09-03 15:40:46 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-10-13 09:50:43 +0800 |
commit | 5135cc48529a2de1801ad826fb5644dc508285e2 (patch) | |
tree | 5a3039f5f12d4684b8f444c11f12f7e1eb5b7c60 /BaseTools/Source/Python/Workspace | |
parent | d3678942b40a7c7755f60dae2b7f92583a03a24e (diff) | |
download | edk2-5135cc48529a2de1801ad826fb5644dc508285e2.tar.gz edk2-5135cc48529a2de1801ad826fb5644dc508285e2.tar.bz2 edk2-5135cc48529a2de1801ad826fb5644dc508285e2.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DscBuildData.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index 8d1535e6e3..26d2c166fa 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -1594,7 +1594,7 @@ class DscBuildData(PlatformBuildClassObject): else:
PcdValueDict[PcdCName, TokenSpaceGuid] = {SkuName:(PcdValue, DatumType, MaxDatumSize)}
- for ((PcdCName, TokenSpaceGuid), PcdSetting) in PcdValueDict.iteritems():
+ for ((PcdCName, TokenSpaceGuid), PcdSetting) in PcdValueDict.items():
if self.SkuIdMgr.SystemSkuId in PcdSetting:
PcdValue, DatumType, MaxDatumSize = PcdSetting[self.SkuIdMgr.SystemSkuId]
elif TAB_DEFAULT in PcdSetting:
|