]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python3: cast the result of zip() to list
authorCyril Roelandt <cyril@redhat.com>
Tue, 7 Jul 2015 14:25:06 +0000 (14:25 +0000)
committerCyril Roelandt <cyril@redhat.com>
Tue, 7 Jul 2015 14:32:14 +0000 (16:32 +0200)
commita863342caf7da9a1c0430549c1ea1e53408b34af
tree2ed8fda63120e599c3ef899a6f32b981b4a7e687
parent8b6d13012622d161774b701f3600ee401d63e5ba
Python3: cast the result of zip() to list

The result of get_sorts was a 'zip object' in Python 3, and it was later used
as a list, which fails. Just cast the result to a list to fix this issue.

Change-Id: I12017f79cad92b1da4fe5f9939b38436db7219eb
Blueprint: neutron-python3
neutron/api/api_common.py