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 <kristian.amlie@mender.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kristian Amlie 2016-01-11 10:32:28 +01:00 committed by Richard Purdie
parent 74fa824e6c
commit 1724ffd32d
1 changed files with 1 additions and 0 deletions

View File

@ -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