Commit 29b9f2ce authored by Ken Dreyer's avatar Ken Dreyer Committed by Guido Günther

deb.git: fix spelling of "described" in docstring

Fix the docstring for _sanitize_version() and _unsanitize_version()
Signed-off-by: Guido Günther's avatarGuido Günther <agx@sigxcpu.org>
parent f0b1bbe3
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment