From: Kristian Amlie Date: Mon, 11 Jan 2016 09:32:28 +0000 (+0100) Subject: fetch2/git.py: Add missing "errno" module import. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6fca8480731ce817df9bee61438347a5e3d3017;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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"). Signed-off-by: Kristian Amlie Signed-off-by: Richard Purdie --- diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 10ba1d3a610..e6789bc8408 100644 --- a/lib/bb/fetch2/git.py +++ b/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