[bitbake-devel] [PATCH 2/3] runqueue: Fix base class for sceneQueueComplete

Christopher Larson kergoth at gmail.com
Mon Oct 29 18:05:39 UTC 2018


This looks wrong. Fix the __init__ instead.

On Mon, Oct 29, 2018 at 10:22 AM Tomasz Meresiński <
tomasz.meresinski at comarch.pl> wrote:

> __init__ method initialized bb.event.Event not sceneQueueEvent.
> Change base class to bb.event.Event.
>
> Signed-off-by: Tomasz Meresiński <tomasz.meresinski at comarch.com>
> ---
>  lib/bb/runqueue.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
> index 9ce06c40..e138a5c2 100644
> --- a/lib/bb/runqueue.py
> +++ b/lib/bb/runqueue.py
> @@ -2615,7 +2615,7 @@ class sceneQueueTaskFailed(sceneQueueEvent):
>      def __str__(self):
>          return "Setscene task (%s) failed with exit code '%s' - real task
> will be run instead" % (self.taskstring, self.exitcode)
>
> -class sceneQueueComplete(sceneQueueEvent):
> +class sceneQueueComplete(bb.event.Event):
>      """
>      Event when all the sceneQueue tasks are complete
>      """
> --
> 2.17.1
>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>


-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20181029/d273684a/attachment-0002.html>


More information about the bitbake-devel mailing list