diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-19 17:10:08 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-19 17:10:08 +0200 |
commit | fe89b949922c028830dd49095432ba627d330186 (patch) | |
tree | aa14611d11c550a790d7976f2b24fabb77e81a67 /gitlab/config.py | |
parent | 701169441194bf0441cee13f2ab5784ffad7a207 (diff) | |
download | gitlab-fe89b949922c028830dd49095432ba627d330186.tar.gz |
Drop API v3 support
Drop the code, the tests, and update the documentation.
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index 0f4c424..c3fcf70 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -137,6 +137,6 @@ class GitlabConfigParser(object): self.api_version = self._config.get(self.gitlab_id, 'api_version') except Exception: pass - if self.api_version not in ('3', '4'): + if self.api_version not in ('4',): raise GitlabDataError("Unsupported API version: %s" % self.api_version) |