summaryrefslogtreecommitdiff
path: root/gbp/deb
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-03-27 19:18:32 +0100
committerGuido Günther <agx@sigxcpu.org>2013-03-27 19:18:32 +0100
commitdafb5a3c2c5596c3ef0b3ad21644b6b6d16d0aaa (patch)
tree5ca5d9d191cbbd6c5b75ea64f305cebe726fa9ae /gbp/deb
parent59254996d740b8b8a0db306a7e04950a5f4e51b8 (diff)
Fix docstring
Diffstat (limited to 'gbp/deb')
-rw-r--r--gbp/deb/git.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index c7b6e77..7a328be 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -68,12 +68,12 @@ class DebianGitRepository(GitRepository):
Build the Debian version that a package based on upstream commit
I{commit} would carry taking into account a possible epoch.
- @param upstream_tag_format; the tag format on the upstream branch
- @type upstream_tag_format; C{str}
+ @param upstream_tag_format: the tag format on the upstream branch
+ @type upstream_tag_format: C{str}
@param commit: the commit to search for the latest upstream version
@param epoch: an epoch to use
@returns: a new debian version
- @raises: L{GitRepositoryError} if no upstream tag was found
+ @raises GitRepositoryError: if no upstream tag was found
"""
pattern = upstream_tag_format % dict(version='*')
tag = self.find_tag(commit, pattern=pattern)