aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@gmail.com>2015-09-18 18:35:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-19 22:38:22 +0100
commit93e4c9bb2393b1074f5a01e7eaaac742a59d8086 (patch)
tree45aff80abbd0d4b56a25e92c6146e85b9b5dea2b /lib/bb/fetch2/git.py
parent771c08b9be1f7875e0216e381ab0a81ef0d26256 (diff)
downloadbitbake-93e4c9bb2393b1074f5a01e7eaaac742a59d8086.tar.gz
bitbake: bb.fetch2.git: Import errno module
Currently this module is dereferencing errno.ENOENT but the python module "errno" is not imported, which causes a crash when fetching from a git repository. Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
-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 4a32a31e4..9bd87ad25 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -66,6 +66,7 @@ Supported SRC_URI options are:
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+import errno
import os
import re
import bb