NSX|V: Fix get_edges for python3

This api is only used by the admin utilities

Change-Id: Ib362a1bb8208526015f4b82043db0d7262dcddc4
This commit is contained in:
asarfaty 2019-12-22 14:29:50 +02:00 committed by Adit Sarfaty
parent eb93cd80f9
commit 0328dea711

View File

@ -258,7 +258,7 @@ class Vcns(object):
count = int(paging_info['totalCount'])
LOG.debug("There are total %s edges and page size is %s",
count, page_size)
pages = count / page_size + 1
pages = int(count / page_size + 1)
for i in range(1, pages):
start_index = page_size * i
h, d = self._get_edges(start_index)