summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorKris Gambirazzi <Kris@sitehost.co.nz>2016-04-27 11:58:27 +1200
committerKris Gambirazzi <Kris@sitehost.co.nz>2016-04-27 11:58:27 +1200
commitcd13aff8a0df9136ba3e289fbccd85de3f159bb5 (patch)
treece53961b3c9c6c2d24f5edfc071b1b055f2a0442 /gitlab/objects.py
parentd4e2cd6c618d137df645c182271f67c5ae7e8ff5 (diff)
downloadgitlab-cd13aff8a0df9136ba3e289fbccd85de3f159bb5.tar.gz
update docblock
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 15799e3..3af2b7a 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -718,14 +718,13 @@ class GroupManager(BaseManager):
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)
def list_projects(self, gid, **kwargs):
- """List all projects in a group
+ """List projects in a group
Attrs:
gid (int): ID of the group
- Raises:
- GitlabConnectionError: if the server cannot be reached.
- GitlabListError: If the server fails to perform the request.
+ Returns:
+ list(Group): a list of projects in the group
"""
url = '/groups/%d/projects' % gid
return self.gitlab._raw_list(url, self.obj_cls, **kwargs)