diff options
author | Ross Burton <ross@burtonini.com> | 2021-04-26 11:27:51 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-27 15:22:58 +0100 |
commit | 3f8758b54dc45f16cb28689271a2f580917e4078 (patch) | |
tree | c41455c902dd4a4bbf7ef0f83976bbd66a98c92c /bitbake/lib/bb/fetch2/git.py | |
parent | b7cba05f8267182ac553f552a5f57a91fe5e7eee (diff) | |
download | poky-3f8758b54dc45f16cb28689271a2f580917e4078.tar.gz |
bitbake: bitbake-server: ensure server timeout is a float
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer. There's some type confusion here:
bitbake-server is called with a string representation of the timeout,
which may be None. If the timeout is not set, pass 0 instead of None.
Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.
[ YOCTO #14350 ]
(Bitbake rev: f2cfb9f6710808ea37aecb6c34c62f92191e1d4b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions