aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb/git.py
diff options
context:
space:
mode:
authorKen Dreyer <kdreyer@redhat.com>2018-05-21 19:34:24 -0600
committerGuido Günther <agx@sigxcpu.org>2018-05-22 07:16:52 +0200
commit29b9f2ce26eeda9970bfa230520bf0f8cb412c35 (patch)
treebe0cd65534f8f6a9463b855d904af4f5bd5263b6 /gbp/deb/git.py
parentf0b1bbe31e7fb8c976af331154908bc1cd3bc013 (diff)
deb.git: fix spelling of "described" in docstring
Fix the docstring for _sanitize_version() and _unsanitize_version() Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r--gbp/deb/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index 38ad74c2..7e87eda0 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -216,7 +216,7 @@ class DebianGitRepository(PkgGitRepository):
def _sanitize_version(version):
"""sanitize a version so git accepts it as a tag
- as descirbed in DEP14
+ as described in DEP14
>>> DebianGitRepository._sanitize_version("0.0.0")
'0.0.0'
@@ -238,7 +238,7 @@ class DebianGitRepository(PkgGitRepository):
def _unsanitize_version(tag):
"""Reverse _sanitize_version
- as descirbed in DEP14
+ as described in DEP14
>>> DebianGitRepository._unsanitize_version("1%0_bpo3")
'1:0~bpo3'