diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-01-21 17:48:34 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-21 17:49:25 +0100 |
commit | a8267dfe2f26f28ed6505572914096f8498cfda5 (patch) | |
tree | 63711c8278b5c3b8a4cdfb1e1fbedf96f4e425bd /gbp/deb/git.py | |
parent | efaa8a2578e0c3ba99569be0dfef62ffc5a651ad (diff) | |
download | git-buildpackage-a8267dfe2f26f28ed6505572914096f8498cfda5.tar.gz git-buildpackage-a8267dfe2f26f28ed6505572914096f8498cfda5.tar.bz2 git-buildpackage-a8267dfe2f26f28ed6505572914096f8498cfda5.zip |
DebianGitRepository: Add parameter and return types to find_version()
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r-- | gbp/deb/git.py | 3 |
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) |