summaryrefslogtreecommitdiffstats
path: root/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:41 +0000
commite6fca8480731ce817df9bee61438347a5e3d3017 (patch)
tree782eee39c55ddeb4d7bea2df79c502eac5d47205 /lib/bb/fetch2
parent7b4c42b315d4a26dd8f2ceb874a94737bf9f183e (diff)
downloadopenembedded-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.py1
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