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:38 +0000 (13:51 +0000)
commitf199e3fe7deb12acaf3415f80f4f615264221e18
treec4d6797d8d4336d244bdc6ccbef544f6f53aef17
parentc9b58f82e0172bf9007524eb697408881f497f8e
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.

(From OE-Core rev: 63fd76190f503660119dcc8efdcfc6fbff406c26)

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