diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-24 07:34:00 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-24 07:34:00 +0200 |
| commit | 8e4b65fc78f47a2be658b11ae30f84da66b13c2a (patch) | |
| tree | af3562ba9cc7832c4686010ebb17c6ebe00eff11 /gitlab/__init__.py | |
| parent | 441244b8d91ac0674195dbb2151570712d234d15 (diff) | |
| download | gitlab-8e4b65fc78f47a2be658b11ae30f84da66b13c2a.tar.gz | |
[v4] Remove deprecated objects methods and classes
Diffstat (limited to 'gitlab/__init__.py')
| -rw-r--r-- | gitlab/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 8beccf0..d4ea1d9 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -96,7 +96,6 @@ class Gitlab(object): self._api_version) self.broadcastmessages = objects.BroadcastMessageManager(self) - self.keys = objects.KeyManager(self) self.deploykeys = objects.DeployKeyManager(self) self.gitlabciymls = objects.GitlabciymlManager(self) self.gitignores = objects.GitignoreManager(self) @@ -112,9 +111,10 @@ class Gitlab(object): self.sidekiq = objects.SidekiqManager(self) self.snippets = objects.SnippetManager(self) self.users = objects.UserManager(self) + self.todos = objects.TodoManager(self) if self._api_version == '3': + self.keys = objects.KeyManager(self) self.teams = objects.TeamManager(self) - self.todos = objects.TodoManager(self) # build the "submanagers" for parent_cls in six.itervalues(vars(objects)): |
