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
'asc': constants.SORT_DIRECTION_ASC,
'desc': constants.SORT_DIRECTION_DESC})
raise exc.HTTPBadRequest(explanation=msg)
- return zip(sort_keys,
- [x == constants.SORT_DIRECTION_ASC for x in sort_dirs])
+ return list(zip(sort_keys,
+ [x == constants.SORT_DIRECTION_ASC for x in sort_dirs]))
def get_page_reverse(request):