From 8f707acd0fc77645860c441511126e0a7a2c8a47 Mon Sep 17 00:00:00 2001 From: Missionrulz Date: Sun, 19 Jun 2016 17:46:01 +1200 Subject: add to __init__.py & move manager after class declaration --- gitlab/objects.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gitlab/objects.py') diff --git a/gitlab/objects.py b/gitlab/objects.py index 02cd756..fb3c56d 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -718,10 +718,6 @@ class GroupManager(BaseManager): return self.gitlab._raw_list(url, self.obj_cls, **kwargs) -class GroupProjectManager(BaseManager): - obj_cls = GroupProject - - class GroupProject(GitlabObject): def list_projects(self, gid, **kwargs): """List projects in a group @@ -736,6 +732,10 @@ class GroupProject(GitlabObject): return self.gitlab._raw_list(url, self.obj_cls, **kwargs) +class GroupProjectManager(BaseManager): + obj_cls = GroupProject + + class Hook(GitlabObject): _url = '/hooks' canUpdate = False -- cgit v1.2.1