aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
Diffstat (limited to 'gbp')
-rw-r--r--gbp/deb/git.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index 8e2561ac..aa19f82a 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -34,8 +34,11 @@ class DebianGitRepository(GitRepository):
tags.
@param format: tag pattern
+ @type format: C{str}
@param version: debian version number
+ @type version: C{str}
@return: sha1 of the commit the tag references to
+ @rtype: C{str}
"""
tag = self.version_to_tag(format, version)
legacy_tag = self._build_legacy_tag(format, version)