summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-08-11 08:21:39 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-08-11 08:21:39 +0200
commit95a3fe6907676109e1cd2f52ca8f5ad17e0d01d0 (patch)
tree82058450ac95dcd6c4d7ad74bbda5c7f3a98320c /gitlab
parent4ed22b1594fd16d93fcdcaab7db8c467afd41fea (diff)
downloadgitlab-95a3fe6907676109e1cd2f52ca8f5ad17e0d01d0.tar.gz
docs: fix invalid Raise attribute in docstrings
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 4903420..b71057f 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -771,7 +771,7 @@ class ProjectCommit(RESTObject):
Args:
**kwargs: Extra options to send to the server (e.g. sudo)
- Raise:
+ Raises:
GitlabAuthenticationError: If authentication is not correct
GitlabGetError: If the diff could not be retrieved
@@ -789,7 +789,7 @@ class ProjectCommit(RESTObject):
branch (str): Name of target branch
**kwargs: Extra options to send to the server (e.g. sudo)
- Raise:
+ Raises:
GitlabAuthenticationError: If authentication is not correct
GitlabCherryPickError: If the cherry-pick could not be performed
"""
@@ -837,7 +837,7 @@ class ProjectKeyManager(NoUpdateMixin, RESTManager):
key_id (int): The ID of the key to enable
**kwargs: Extra options to send to the server (e.g. sudo)
- Raise:
+ Raises:
GitlabAuthenticationError: If authentication is not correct
GitlabProjectDeployKeyError: If the key could not be enabled
"""
@@ -1311,7 +1311,7 @@ class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject):
commit_message (str): Message to send with the commit
**kwargs: Extra options to send to the server (e.g. sudo)
- Raise:
+ Raises:
GitlabAuthenticationError: If authentication is not correct
GitlabUpdateError: If the server cannot perform the request
"""