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:44 +0100 |
commit | 7b86c771c80d0759c2ca0e57c46c4c966f89c49e (patch) | |
tree | 09eac710730fe769723bf034f328d67d7b6c6a7a | |
parent | e993aa67054aa43854570861b4f005e780bdd3df (diff) | |
download | poky-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>
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 1 |
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 | ||
69 | import errno | ||
69 | import os | 70 | import os |
70 | import re | 71 | import re |
71 | import bb | 72 | import bb |