summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-04-22 23:01:55 +0200
committerNejc Habjan <hab.nejc@gmail.com>2020-04-22 23:31:35 +0200
commitdc382fe3443a797e016f8c5f6eac68b7b69305ab (patch)
tree3f8bb49ffad00924720ebbe5ca6baaebe1fd0ef9 /gitlab
parent9d66cb3ccc8d9edac68380b4b8ff285a9782e698 (diff)
downloadgitlab-dc382fe3443a797e016f8c5f6eac68b7b69305ab.tar.gz
chore: bring commit signatures up to date with 12.10
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index f6c09d9..42b2bf4 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -2299,7 +2299,7 @@ class ProjectCommit(RESTObject):
@cli.register_custom_action("ProjectCommit")
@exc.on_http_error(exc.GitlabGetError)
def signature(self, **kwargs):
- """Get the GPG signature of the commit.
+ """Get the signature of the commit.
Args:
**kwargs: Extra options to send to the server (e.g. sudo)
@@ -2309,7 +2309,7 @@ class ProjectCommit(RESTObject):
GitlabGetError: If the signature could not be retrieved
Returns:
- dict: The commit's GPG signature data
+ dict: The commit's signature data
"""
path = "%s/%s/signature" % (self.manager.path, self.get_id())
return self.manager.gitlab.http_get(path, **kwargs)