summaryrefslogtreecommitdiffhomepage
path: root/gbp/deb/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/git.py')
-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 7746e865..a85e4d4d 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -104,9 +104,9 @@ class DebianGitRepository(GitRepository):
%(version)s provides a clean version that works as a git tag.
- %(hversion)s provides the same thing, but with '.' replaced
- with '-'. hversion is useful for upstreams with tagging
- policies that prohibit . characters.
+ %(hversion)s provides the same thing, but with '.' replaced with '-'.
+ hversion is useful for upstreams with tagging policies that prohibit .
+ characters.
>>> DebianGitRepository.version_to_tag("debian/%(version)s", "0:0~0")
'debian/0%0_0'