Merge "NSX|V: Fix get_edges for python3" into stable/train

This commit is contained in:
Zuul 2019-12-23 07:27:31 +00:00 committed by Gerrit Code Review
commit 9c3b81c381
1 changed files with 1 additions and 1 deletions

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)