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

Ken Dreyer kdreyer at redhat.com
Tue May 22 03:35:07 CEST 2018


Oh, I see this misspelling is copied & pasted in _unsanitize_version.
New patch inbound.

- Ken

On Mon, May 21, 2018 at 7:32 PM, Ken Dreyer <kdreyer at redhat.com> wrote:
> Fix the docstring for _sanitize_version()
> ---
>  gbp/deb/git.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gbp/deb/git.py b/gbp/deb/git.py
> index 36adcf2b..3e808d35 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'
> --
> 2.14.3
>


More information about the git-buildpackage mailing list