Skip to content

Commit

Permalink
update docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Gambirazzi authored and Kris Gambirazzi committed Apr 26, 2016
1 parent d4e2cd6 commit cd13aff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gitlab/objects.py
Expand Up @@ -718,14 +718,13 @@ def search(self, query, **kwargs):
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)
Expand Down

0 comments on commit cd13aff

Please sign in to comment.