pybind/mgr: use enumerate() for accessing index in a loop
authorKefu Chai <kchai@redhat.com>
Thu, 2 May 2019 14:20:16 +0000 (22:20 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 2 May 2019 15:06:28 +0000 (23:06 +0800)
commitaadb8ec856659a015f16d319efe4d4588362f97f
tree739e3644cc7fd76b2b777d31a49335f2358b29a7
parentd712aac9166c96c942cdb922ef25d7e86b5fe6d9
pybind/mgr: use enumerate() for accessing index in a loop

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/restful/module.py