diff options
| author | Kristian Amlie <kristian.amlie@mender.io> | 2016-01-11 10:32:28 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:28:55 +0000 |
| commit | 1724ffd32d1c169a2de66f2cb88ba18c56da6146 (patch) | |
| tree | 9e0857375f77528a3ac269790cbcfbdb79fdecab | |
| parent | 74fa824e6c388dcb55e555dfba66b2b182fd1a38 (diff) | |
| download | poky-1724ffd32d1c169a2de66f2cb88ba18c56da6146.tar.gz | |
bitbake: 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").
(Bitbake rev: e6fca8480731ce817df9bee61438347a5e3d3017)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
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 10ba1d3a61..e6789bc840 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -70,6 +70,7 @@ import errno | |||
| 70 | import os | 70 | import os |
| 71 | import re | 71 | import re |
| 72 | import bb | 72 | import bb |
| 73 | import errno | ||
| 73 | from bb import data | 74 | from bb import data |
| 74 | from bb.fetch2 import FetchMethod | 75 | from bb.fetch2 import FetchMethod |
| 75 | from bb.fetch2 import runfetchcmd | 76 | from bb.fetch2 import runfetchcmd |
