bitbake: fetch2: Clean up srcrev_internal_helper
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jan 2014 13:10:46 +0000 (13:10 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2014 10:20:13 +0000 (10:20 +0000)
commit13b57d45c18cd8f7683760610136fdb5b15f9506
treeb12554ef17657bf358026f0085b78c1630609b23
parent9f9a3dc1f0cd71ee16d34ceb92a125576755f0af
bitbake: fetch2: Clean up srcrev_internal_helper

Currently INVALID and None are checked as incorrect values under different
circumstances. This code standardises those checks to be consistent. We
should phase out the use of "INVALID".

(Bitbake rev: 86ef4e65ce18b71dc69643586bd2aa8f48703171)

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