Hob: unify _size_to_string() and _string_to_size()
authorShane Wang <shane.wang@intel.com>
Mon, 2 Apr 2012 08:29:17 +0000 (16:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Apr 2012 17:48:07 +0000 (18:48 +0100)
commit8db9bc7c9748570aa8a8569e860140167f90f342
treed7353d0e487973d6c96ba8c63bb8ab99cfeb158e
parentafc755125d5df4c1672e000d3e6b0d7a9058878d
Hob: unify _size_to_string() and _string_to_size()

We call intsize_to_string (and string_to_intsize) in 3 different places.
We unify the implementations into one place.

(Bitbake rev: 578ce86a9ac2110f5b128aae582c6e0b3e739cec)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/hoblistmodel.py
bitbake/lib/bb/ui/crumbs/hobpages.py
bitbake/lib/bb/ui/crumbs/imagedetailspage.py
bitbake/lib/bb/ui/crumbs/packageselectionpage.py