@@ -198,12 +198,12 @@ def get_branch(self, auth, username, repo_name, branch_name):
198198 """
199199 Returns the branch with name ``branch_name`` in the repository with name ``repo_name``
200200 owned by the user with username ``username``.
201-
201+
202202 :param auth.Authentication auth: authentication object
203203 :param str username: username of owner of repository containing the branch
204204 :param str repo_name: name of the repository with the branch
205205 :param str branch_name: name of the branch to return
206- :return a branch
206+ :return: a branch
207207 :rtype: GogsBranch
208208 :raises NetworkFailure: if there is an error communicating with the server
209209 :raises ApiFailure: if the request cannot be serviced
@@ -214,12 +214,13 @@ def get_branch(self, auth, username, repo_name, branch_name):
214214
215215 def get_branches (self , auth , username , repo_name ):
216216 """
217- Returns the branches in the repository with name ``repo_name`` owned by the user with username ``username``.
217+ Returns the branches in the repository with name ``repo_name`` owned by the user
218+ with username ``username``.
218219
219220 :param auth.Authentication auth: authentication object
220221 :param str username: username of owner of repository containing the branch
221222 :param str repo_name: name of the repository with the branch
222- :return a list of branches
223+ :return: a list of branches
223224 :rtype: List[GogsBranch]
224225 :raises NetworkFailure: if there is an error communicating with the server
225226 :raises ApiFailure: if the request cannot be serviced
0 commit comments