aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@mender.io>2016-01-11 10:32:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-11 23:28:55 +0000
commit1724ffd32d1c169a2de66f2cb88ba18c56da6146 (patch)
tree9e0857375f77528a3ac269790cbcfbdb79fdecab
parent74fa824e6c388dcb55e555dfba66b2b182fd1a38 (diff)
downloadopenembedded-core-contrib-1724ffd32d1c169a2de66f2cb88ba18c56da6146.tar.gz
openembedded-core-contrib-1724ffd32d1c169a2de66f2cb88ba18c56da6146.tar.bz2
openembedded-core-contrib-1724ffd32d1c169a2de66f2cb88ba18c56da6146.zip
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>
-rw-r--r--bitbake/lib/bb/fetch2/git.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 10ba1d3a610..e6789bc8408 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