gitlab.lister: Fix buggy call to self._get_int

Was missing the dict to read from
This commit is contained in:
Antoine R. Dumont (@ardumont) 2018-07-17 11:37:53 +02:00
parent e24cf1d4f1
commit 5003a0475b
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -113,7 +113,7 @@ class GitLabLister(PageByPageHttpLister):
h = response.headers
return (self._get_int(h, 'x-total'),
self._get_int(h, 'x-total-pages'),
self._get_int('x-per-page'))
self._get_int(h, 'x-per-page'))
def transport_response_simplified(self, response):
repos = response.json()