]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory_analysis: fix error when version specifier missing
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 28 May 2012 12:57:11 +0000 (13:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 10:03:07 +0000 (11:03 +0100)
commit90caa605bd24279e4a9204e279492754119a8a55
treeeca7e2f4f99880211d548644f36da7a22af56fbf
parente83d8e58a6b107eea87df0ec233a1bc932b2c6ea
buildhistory_analysis: fix error when version specifier missing

Passing None to split_versions() will raise an exception, so check that
the version is specified before passing it in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/buildhistory_analysis.py