yaml-validate.py not compatible with python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Cédric Jeanneret |
Bug Description
Dear Stackers,
In tripleo-
We can find multiple occurrence of this kind of error:
Validating ./docker/
Traceback (most recent call last):
File "./tools/
retval |= validate_
File "./tools/
search_
File "./tools/
return _rsearch_
File "./tools/
for k, v in d.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
For now, a change is proposed in order to fix python2 as the running version¹, but this is a quick fix.
I'm unfortunately not the right one for some python2->python3 migration :(.
Thank you!
Cheers,
C.
Changed in tripleo: | |
assignee: | nobody → Cédric Jeanneret (cjeanner) |
status: | Triaged → In Progress |
Changed in tripleo: | |
milestone: | stein-1 → rocky-rc1 |
Updated review in order to actually correct the script. It wasn't that hard :)