diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-01-26 11:26:22 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-08 06:50:42 +0000 |
commit | 6a24addcba949be6666e59a720c6860c6377d705 (patch) | |
tree | dc430470c2e2830165e0492ce968e9ccbfc0510f /api/resources | |
parent | a4241e6e9b121447a50fdfe0d79b322c2e2aaea9 (diff) |
vnfdgen: replace six.iteritems() with .items()
Openstack python3 style guide prefers to not use six.iteritems() but
instead use data.items() for all cases.
We should follow the Openstack guides since OPNFV is aligned with
Openstack
https://wiki.openstack.org/wiki/Python3#Port_Python_2_code_to_Python_3
Common patterns:
* Replace "for key in dict.iterkeys()" with "for key in dict"
* Replace dict.iteritems() with dict.items()
* Replace dict.itervalues() with dict.values()
Change-Id: I99b0505199a568771341658caf8b71c1896db9cd
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'api/resources')
0 files changed, 0 insertions, 0 deletions