diff options
author | Kristian Amlie <kristian.amlie@mender.io> | 2016-01-11 10:32:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:28:41 +0000 |
commit | e6fca8480731ce817df9bee61438347a5e3d3017 (patch) | |
tree | 782eee39c55ddeb4d7bea2df79c502eac5d47205 /lib/bb/fetch2 | |
parent | 7b4c42b315d4a26dd8f2ceb874a94737bf9f183e (diff) | |
download | openembedded-core-contrib-e6fca8480731ce817df9bee61438347a5e3d3017.tar.gz |
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 <kristian.amlie@mender.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2')
-rw-r--r-- | lib/bb/fetch2/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 10ba1d3a61..e6789bc840 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 |