On Fri, Jul 1, 2016 at 1:39 PM, Christopher Larson <kerg...@gmail.com> wrote:
> From: Christopher Larson <chris_lar...@mentor.com> > > 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 <chris_lar...@mentor.com> > 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 Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core