From 93e4c9bb2393b1074f5a01e7eaaac742a59d8086 Mon Sep 17 00:00:00 2001 From: Romain Perier Date: Fri, 18 Sep 2015 18:35:22 +0200 Subject: bitbake: bb.fetch2.git: Import errno module 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 Signed-off-by: Richard Purdie --- lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/bb/fetch2/git.py') diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 4a32a31e4..9bd87ad25 100644 --- a/lib/bb/fetch2/git.py +++ b/lib/bb/fetch2/git.py @@ -66,6 +66,7 @@ Supported SRC_URI options are: # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +import errno import os import re import bb -- cgit 1.2.3-korg