On Fri, Jul 1, 2016 at 1:39 PM, Christopher Larson <[email protected]> wrote:
> From: Christopher Larson <[email protected]> > > This was rounded in python 2, but python 3 changed the default behavior of > /. > We could switch to the same behavior as previous by switching to // rather > than /, but there's value in keeping at least one decimal point, to avoid > the > misleading case where it says 0% but the reuse is non-zero. > > Signed-off-by: Christopher Larson <[email protected]> > v2 changes: fixed to correctly do the rounding as part of the string formatting. -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
