Python 3.x Compatibility - convert x.iteritems to six.iteritems(x)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Peter Razumovsky |
Bug Description
I noticed that in many places heat x.iteritems() calls should to be changed to six.iteritems(x) for python 3.x compatibility.
Files requiring change:
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
/heat/heat/
Some contrib and unit-tests should also be changed.
/heat/contrib/
/heat/contrib/
Changed in heat: | |
assignee: | nobody → Rabi Mishra (ramishra) |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in heat: | |
assignee: | nobody → Razumovsky Peter (prazumovsky) |
Changed in heat: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
IMHO, it's way too early to look at those kind of problems. Until all the libraries Heat uses are ported, working on Heat code itself has little benefit, as we can reintroduce iteritems very easily. Maybe you should work on the hacking library so that it reports using iteritems as error.