Commit 6565b92f authored by Charlie Jacomme's avatar Charlie Jacomme
Browse files

Revert "fix list function to follow pages"

Stupid Charlie, stupid
This reverts commit 61aba481.
parent 61aba481
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ class Re2oAPIClient:
        results = response['results']

        # Get all next pages and append the results
        while results['next'] is not None and \
        while response['next'] is not None and \
                (max_results is None or len(results) < max_results):
            response = self.get(response['next'])
            results += response['results']