[git-buildpackage] [PATCH] deb.git: fix spelling of "described" in docstring

Ken Dreyer kdreyer at redhat.com
Tue May 22 03:34:24 CEST 2018


Fix the docstring for _sanitize_version() and _unsanitize_version()
---
 gbp/deb/git.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index 36adcf2b..b4622ef4 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'
-- 
2.14.3



More information about the git-buildpackage mailing list