Skip to content

Commit

Permalink
Fix GitlabList.__len__
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Jun 5, 2017
1 parent 0d94ee2 commit 15511bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/__init__.py
Expand Up @@ -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()
Expand Down

0 comments on commit 15511bf

Please sign in to comment.