[bitbake-devel] [PATCH V2] bitbake: bb.fetch2.git: Import errno module

Romain Perier romain.perier at gmail.com
Sun Sep 20 17:06:33 UTC 2015


Hi,

If this is the patch rebased on the bibake repo, thanks you. I am on
vacations these days ;)

Romain

> Le 19 sept. 2015 à 23:14, Khem Raj <raj.khem at gmail.com> a écrit :
>
> From: Romain Perier <romain.perier at gmail.com>
>
> Currently this module is dereferencing errno.ENOENT but the python module "errno"
> is not imported, which causes a crash when fetching from a git repository.
>
> Signed-off-by: Romain Perier <romain.perier at gmail.com>
> Acked-by: Christopher Larson <chris_larson at mentor.com>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> lib/bb/fetch2/git.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
> index 4a32a31..9c04da0 100644
> --- a/lib/bb/fetch2/git.py
> +++ b/lib/bb/fetch2/git.py
> @@ -69,6 +69,7 @@ Supported SRC_URI options are:
> import os
> import re
> import bb
> +import errno
> from   bb    import data
> from   bb.fetch2 import FetchMethod
> from   bb.fetch2 import runfetchcmd
> --
> 2.5.2
>



More information about the bitbake-devel mailing list