summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
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 /bitbake/lib/bb/fetch2
parent74fa824e6c388dcb55e555dfba66b2b182fd1a38 (diff)
downloadpoky-1724ffd32d1c169a2de66f2cb88ba18c56da6146.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-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 10ba1d3a61..e6789bc840 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -70,6 +70,7 @@ import errno
70import os 70import os
71import re 71import re
72import bb 72import bb
73import errno
73from bb import data 74from bb import data
74from bb.fetch2 import FetchMethod 75from bb.fetch2 import FetchMethod
75from bb.fetch2 import runfetchcmd 76from bb.fetch2 import runfetchcmd