diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 57a91edcf..e6a151a87 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -819,7 +819,7 @@ def __iter__(self): return self def __len__(self): - return int(self._total_pages) + return int(self._total) def __next__(self): return self.next()