diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-08-27 03:52:08 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-08-27 04:50:43 +0000 |
commit | 7a31c2e438da2d165f473f7428cee7d2164312df (patch) | |
tree | ace10c3428b58f2d8d2066978964ed80478279d6 /share/starlingx_base/registration | |
parent | 4a42f215d7009fc825bbff5b120913f21660ee59 (diff) |
Fix py3 related issue
Change-Id: I2b21aaab2cbf0df11b9940bf62585294dd1ce576
Issue-ID: MULTICLOUD-774
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/starlingx_base/registration')
-rw-r--r-- | share/starlingx_base/registration/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/starlingx_base/registration/registration.py b/share/starlingx_base/registration/registration.py index 85d3faa0..da05426f 100644 --- a/share/starlingx_base/registration/registration.py +++ b/share/starlingx_base/registration/registration.py @@ -488,7 +488,7 @@ class InfraResourceAuditor(newton_registration.RegistryHelper): vimAzList.append(azName) # get list of host names - pservers_info = [k for (k, v) in az['hosts'].items()] + pservers_info = [k for (k, v) in list(az['hosts'].items())] # Get current cap info of azName azCapCacheKey = "cap_" + vimid + "_" + azName |