Skip to content

Commit

Permalink
Revert __len__ for PaginatedList to fix the tests, will revisit later
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdye committed Jul 10, 2018
1 parent 8ae2bcb commit 8a589c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions github/PaginatedList.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ def _getLastPageUrl(self):
lastUrl = links.get("last")
return lastUrl

def __len__(self):
return self.totalCount

@property
def reversed(self):
r = PaginatedList(self.__contentClass, self.__requester, self.__firstUrl, self.__firstParams)
Expand Down

0 comments on commit 8a589c9

Please sign in to comment.