summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-08-08 02:12:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-09 09:24:56 +0100
commit896243f4feb528588cc87d6159f81efdabd8a3b5 (patch)
tree6348eb761b63c2ed0a37856c58a8304a9bbb96c3 /bitbake/lib/bb/parse
parent46e22516252d03aeb8cbc4dedec58309ed9e8954 (diff)
downloadpoky-896243f4feb528588cc87d6159f81efdabd8a3b5.tar.gz
bitbake: main: Remove unneeded float()
There is already a type=float, so the float() is not needed, which also makes the error clearer: $ export BB_SERVER_TIMEOUT=10000AA With float(): $ bitbake quilt-native [snip] ValueError: could not convert string to float: '10000AA' Without float(): $ bitbake quilt-native [snip] optparse.OptionValueError: option --idle-timeout: invalid floating-point value: '10000AA' The second one tells clearly where is wrong. (Bitbake rev: 7a4ea1e6a10f20d80009a78f4f0aebf8f90095fd) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
0 files changed, 0 insertions, 0 deletions