swh.lister.gitlab: Fix the total pages reading instruction
This commit is contained in:
parent
cd98af7705
commit
a69e576c85
1 changed files with 3 additions and 2 deletions
|
@ -60,6 +60,7 @@ class IncrementalGitLabLister(ListerTaskBase):
|
|||
|
||||
def run_task(self, *args, **kwargs):
|
||||
lister = self.new_lister(*args, **kwargs)
|
||||
total, _, _ = lister.get_pages_information()
|
||||
_, total_pages, _ = lister.get_pages_information()
|
||||
# stopping as soon as existing origins for that instance are detected
|
||||
return lister.run(min_bound=1, max_bound=total, check_existence=True)
|
||||
return lister.run(min_bound=1, max_bound=total_pages,
|
||||
check_existence=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue