summaryrefslogtreecommitdiffstats
path: root/bitbake/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:44 +0100
commit7b86c771c80d0759c2ca0e57c46c4c966f89c49e (patch)
tree09eac710730fe769723bf034f328d67d7b6c6a7a /bitbake/lib/bb/fetch2/git.py
parente993aa67054aa43854570861b4f005e780bdd3df (diff)
downloadpoky-7b86c771c80d0759c2ca0e57c46c4c966f89c49e.tar.gz
bitbake: 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. (Bitbake rev: 93e4c9bb2393b1074f5a01e7eaaac742a59d8086) Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-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 4a32a31e40..9bd87ad25c 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -66,6 +66,7 @@ Supported SRC_URI options are:
66# with this program; if not, write to the Free Software Foundation, Inc., 66# with this program; if not, write to the Free Software Foundation, Inc.,
67# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 67# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
68 68
69import errno
69import os 70import os
70import re 71import re
71import bb 72import bb