diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-05-04 16:06:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 07:26:42 +0100 |
commit | 997ff239bd753a7957cc14c6829b2f093d9bcef6 (patch) | |
tree | 93d5f0b713bed3ecb36fbf823e02ee1ff2472f0d /scripts/lib/recipetool/create_kernel.py | |
parent | 9658956bf8a5da779e06f71941de9b3e89415cdc (diff) | |
download | openembedded-core-997ff239bd753a7957cc14c6829b2f093d9bcef6.tar.gz openembedded-core-997ff239bd753a7957cc14c6829b2f093d9bcef6.tar.bz2 openembedded-core-997ff239bd753a7957cc14c6829b2f093d9bcef6.zip |
wic: use // operator instead of /
Division operator works differently in Python 3. It results in
float unlike in Python 2, where it results in int.
Explicitly used "floor division" operator instead of 'division'
operator. This should make the code to result in integer under
both pythons.
[YOCTO #9412]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_kernel.py')
0 files changed, 0 insertions, 0 deletions