Page MenuHomeSoftware Heritage

D385.id1193.diff
No OneTemporary

D385.id1193.diff

diff --git a/swh/lister/gitlab/tasks.py b/swh/lister/gitlab/tasks.py
--- a/swh/lister/gitlab/tasks.py
+++ b/swh/lister/gitlab/tasks.py
@@ -60,6 +60,7 @@
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)

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 1:13 PM (1 d, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216460

Event Timeline