[OE-core] [PATCH] toaster.bbclass: Fix ValueError

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jul 27 11:33:11 UTC 2015


On Mon, 2015-07-27 at 13:55 +0300, Ed Bartosh wrote:
> The reason for this exception was usage of ':' as a field
> delimiter in toasterstatlist file. As target can optionally
> contain ':<task>' suffix it caused split(':') to throw exception:
> 
> File "toaster_collect_task_stats(e)", line 71, in
> toaster_collect_task_stats(e=<bb.event.BuildCompleted object at
> 0x7f8434deed50>)
> ValueError: too many values to unpack
> 
> Fixed by changing delimiter ':' -> '::'
> 
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>

Since this is causing other blockages and is simple I've merged it,
thanks!

One thing I did tweak was mentioning in the commit message that "bitbake
xxx:do_yyy" triggers this.

Cheers,

Richard




More information about the Openembedded-core mailing list