diff options
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index 9cf208c..3166ec4 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -130,6 +130,10 @@ class GitlabConfigParser(object): self.api_version = '3' try: + self.api_version = self._config.get('global', 'api_version') + except Exception: + pass + try: self.api_version = self._config.get(self.gitlab_id, 'api_version') except Exception: pass |