From 1724ffd32d1c169a2de66f2cb88ba18c56da6146 Mon Sep 17 00:00:00 2001 From: Kristian Amlie Date: Mon, 11 Jan 2016 10:32:28 +0100 Subject: bitbake: fetch2/git.py: Add missing "errno" module import. This goes undetected most of the time, but when updating a repository, if the ud.fullmirror file is not present, you end up getting an exception instead of carrying on because the errno module is not loaded (specifically "if exc.errno != errno.ENOENT"). (Bitbake rev: e6fca8480731ce817df9bee61438347a5e3d3017) Signed-off-by: Kristian Amlie Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/git.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 10ba1d3a61..e6789bc840 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -70,6 +70,7 @@ import errno import os import re import bb +import errno from bb import data from bb.fetch2 import FetchMethod from bb.fetch2 import runfetchcmd -- cgit 1.2.3-korg