bitbake: providers.py: Fix PREFERRED_VERSION containing epochs
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Oct 2012 12:29:59 +0000 (13:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Oct 2012 12:33:26 +0000 (13:33 +0100)
commit10899dcec161f1dfa924f9c3b51a1d4115b3e013
tree5f83717662a08fb2e661322fdfa805d7c017e456
parent425d3d478d4cf3ae2af252685001605e68bc6b09
bitbake: providers.py: Fix PREFERRED_VERSION containing epochs

For some reason the code calls int() on the epoch component of any
PREFERRED_VERSION. Since this is compared against strings, the comparison
would always fail. This removes the stray cast and allows epochs
in preferred_version to work correctly.

[YOCTO #3187]

(Bitbake rev: 117b47553970fc5307374cbf500744b7c302efb4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/providers.py