Thanks Sujith

I wonder if there is a way to simplify this by using the getBuildEnvironmentController method from bldcontrol.bbcontroller?

and in views.py doing

buildctrl = getBuildEnvironmentController...
buildctrl._runCommand(["stateForceShutdown"])

(or add a convenience function to bbcontroller.py after the triggerEvent one)

Michael

On 17/12/15 16:56, sujith h wrote:
Hi,

I have posted my changes in: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=sujith/toaster-build-cancel

Kindly review my changes and let me know if I have to make changes. I would be happy to do so.

Thanks for all helping hand from RP, Ed, Michael, Belen and Paul.

Thanks,
Sujith H

--
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info



--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to