bitbake: bb.fetch2.git: Import errno module
PATCH v2 1/1 bitbake: bb.fetch2.git: Import errno module
From: Romain Perier <[email protected]>
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 <[email protected]>
Signed-off-by Khem Raj <[email protected]>
--- lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+)
lib/bb/fetch2/git.py +1 -0
@@ -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
Signature · 1 line
2.5.2
Hi,
If this is the patch rebased on the bibake repo, thanks you. I am on vacations these days ;)
Romain
Quoted 29 lines · Khem Raj
From: Romain Perier <[email protected]>
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 <[email protected]>Signed-off-by Khem Raj <[email protected]>---
lib/bb/fetch2/git.py| 1 +1 file changed, 1 insertion(+)lib/bb/fetch2/git.py +0
-0@@ -69,6 +69,7 @@ Supported SRC_URI options are:import os
import re
import bb
+import errnofrom bb import data from bb.fetch2 import FetchMethod from bb.fetch2 import runfetchcmd--
2.5.2