summaryrefslogtreecommitdiff
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-04 16:06:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 07:26:42 +0100
commit997ff239bd753a7957cc14c6829b2f093d9bcef6 (patch)
tree93d5f0b713bed3ecb36fbf823e02ee1ff2472f0d /scripts/lib/scriptutils.py
parent9658956bf8a5da779e06f71941de9b3e89415cdc (diff)
downloadopenembedded-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/scriptutils.py')
0 files changed, 0 insertions, 0 deletions