]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory_analysis: fix broken list length checks
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 6 Dec 2012 11:11:51 +0000 (11:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2012 13:51:32 +0000 (13:51 +0000)
commit63fd76190f503660119dcc8efdcfc6fbff406c26
tree851ca1032af498a6fbcf7be5ee9efc26e14529ec
parent6d86690330f0d43839b904fced4b4b02cb27b8c6
buildhistory_analysis: fix broken list length checks

Fix erroneous use of .count instead of len(), which unfortunately is not
reported by Python as an error in a numeric comparison.

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