summaryrefslogtreecommitdiff
path: root/gitlab/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/config.py')
-rw-r--r--gitlab/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gitlab/config.py b/gitlab/config.py
index b2c0dbf..95a1245 100644
--- a/gitlab/config.py
+++ b/gitlab/config.py
@@ -163,3 +163,9 @@ class GitlabConfigParser(object):
pass
if self.per_page is not None and not 0 <= self.per_page <= 100:
raise GitlabDataError("Unsupported per_page number: %s" % self.per_page)
+
+ self.pagination = None
+ try:
+ self.pagination = self._config.get(self.gitlab_id, "pagination")
+ except Exception:
+ pass