summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorMissionrulz <missionrulz@gmail.com>2016-06-19 17:46:01 +1200
committerMissionrulz <missionrulz@gmail.com>2016-06-19 17:46:01 +1200
commit8f707acd0fc77645860c441511126e0a7a2c8a47 (patch)
tree231bf03180c429d5ef296e9526bdc4b11a2f1673 /gitlab/objects.py
parenteb6c26f51131fa171c71c19c28448e736f2f5243 (diff)
downloadgitlab-8f707acd0fc77645860c441511126e0a7a2c8a47.tar.gz
add to __init__.py & move manager after class declaration
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py8
1 files changed, 4 insertions, 4 deletions
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