Replace dict.iteritems() across modules in networking-cisco repo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-cisco |
Fix Committed
|
Undecided
|
Saksham Varma |
Bug Description
pep8 runtests: commands[1] | flake8
2015-06-08 19:15:30.744 | /home/jenkins/
2015-06-08 19:15:32.434 | ./networking_
2015-06-08 19:15:32.434 | for resource, attrs in attributes.
2015-06-08 19:15:32.434 | ^
2015-06-08 19:15:32.434 | ./networking_
2015-06-08 19:15:32.435 | for key, value in filters.
2015-06-08 19:15:32.435 | ^
2015-06-08 19:15:32.619 | ./networking_
2015-06-08 19:15:32.619 | obj = dict((self.
2015-06-08 19:15:32.620 | ^
2015-06-08 19:15:32.620 | ./networking_
2015-06-08 19:15:32.620 | for host_id, value in self.ucsm_
2015-06-08 19:15:32.620 | ^
2015-06-08 19:15:32.725 | ERROR: InvocationError: '/home/
2015-06-08 19:15:32.725 | _______
2015-06-08 19:15:32.725 | ERROR: pep8: commands failed
Changed in networking-cisco: | |
assignee: | nobody → Saksham Varma (sakvarma) |
Changed in networking-cisco: | |
milestone: | none → 2.0.0 |
Reviewed: https:/ /review. openstack. org/189932 /git.openstack. org/cgit/ stackforge/ networking- cisco/commit/ ?id=2814776d57e 0e884e0ad8a0204 b5bb49d6abd4c8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2814776d57e0e88 4e0ad8a0204b5bb 49d6abd4c8
Author: Saksham Varma <email address hidden>
Date: Tue Jun 9 13:45:45 2015 -0700
Fix more pep8 and py27 failures due to neutron core changes
pep8 failed since dict.iteritems() is not Python3 compatible.
This fix replaces these calls with six.iteritems(dict)
py27 failed due to olso.config not allowing config files to /review. openstack. org/189646
end in .test, see https:/
Co-Authored-By: Henry Gessau <email address hidden>
Closes-Bug: #1463560
Change-Id: I5b408a6b99595e 02c6188c752379e 8b1a672ae42