aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-01-21 17:48:34 +0100
committerGuido Günther <agx@sigxcpu.org>2012-01-21 17:49:25 +0100
commita8267dfe2f26f28ed6505572914096f8498cfda5 (patch)
tree63711c8278b5c3b8a4cdfb1e1fbedf96f4e425bd /gbp
parentefaa8a2578e0c3ba99569be0dfef62ffc5a651ad (diff)
DebianGitRepository: Add parameter and return types to find_version()
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)