All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] bitbake: bb.fetch2.git: Import errno module
@ 2015-09-19 21:23 Khem Raj
  2015-09-20 17:06 ` Romain Perier
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2015-09-19 21:23 UTC (permalink / raw)
  To: bitbake-devel

From: Romain Perier <romain.perier@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@gmail.com>
Acked-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Khem Raj <raj.khem@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH V2] bitbake: bb.fetch2.git: Import errno module
  2015-09-19 21:23 [PATCH V2] bitbake: bb.fetch2.git: Import errno module Khem Raj
@ 2015-09-20 17:06 ` Romain Perier
  0 siblings, 0 replies; 2+ messages in thread
From: Romain Perier @ 2015-09-20 17:06 UTC (permalink / raw)
  To: Khem Raj; +Cc: bitbake-devel@lists.openembedded.org

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@gmail.com> a écrit :
>
> From: Romain Perier <romain.perier@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@gmail.com>
> Acked-by: Christopher Larson <chris_larson@mentor.com>
> Signed-off-by: Khem Raj <raj.khem@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
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-20 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-19 21:23 [PATCH V2] bitbake: bb.fetch2.git: Import errno module Khem Raj
2015-09-20 17:06 ` Romain Perier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.