diff options
author | Romain Perier <romain.perier@gmail.com> | 2015-09-18 18:35:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-19 22:38:22 +0100 |
commit | 93e4c9bb2393b1074f5a01e7eaaac742a59d8086 (patch) | |
tree | 45aff80abbd0d4b56a25e92c6146e85b9b5dea2b /lib | |
parent | 771c08b9be1f7875e0216e381ab0a81ef0d26256 (diff) | |
download | bitbake-93e4c9bb2393b1074f5a01e7eaaac742a59d8086.zip |
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')
-rw-r--r-- | lib/bb/fetch2/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 4a32a31e..9bd87ad2 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 |