summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-04-23 09:26:08 +0200
committerGitHub <noreply@github.com>2020-04-23 09:26:08 +0200
commit5a753105d95859854e52adc2575a9a51d43c341c (patch)
tree0c6481f5dd5ae21b9800402b9c933915e17a6f35 /gitlab/v4/objects.py
parent9d66cb3ccc8d9edac68380b4b8ff285a9782e698 (diff)
parente6c9fe920df43ae2ab13f26310213e8e4db6b415 (diff)
downloadgitlab-5a753105d95859854e52adc2575a9a51d43c341c.tar.gz
Merge pull request #1082 from python-gitlab/chore/signature-gpg-x509
chore: bring commit signatures up to date with 12.10
Diffstat (limited to 'gitlab/v4/objects.py')
-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)