[bootlin/training-materials updates] master: slides: yocto-recipe-extra: add marked anonymous function (eb0a6c14)

Alexandre Belloni alexandre.belloni at bootlin.com
Fri Jul 9 18:21:14 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/eb0a6c14af546d9968f4aef95e811fcbe2881c85

>---------------------------------------------------------------

commit eb0a6c14af546d9968f4aef95e811fcbe2881c85
Author: Thomas Perrot <thomas.perrot at bootlin.com>
Date:   Sat Jun 12 00:32:56 2021 +0200

    slides: yocto-recipe-extra: add marked anonymous function
    
    Signed-off-by: Thomas Perrot <thomas.perrot at bootlin.com>


>---------------------------------------------------------------

eb0a6c14af546d9968f4aef95e811fcbe2881c85
 slides/yocto-recipe-extra/yocto-recipe-extra.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 69606163..9a05bd93 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -124,7 +124,7 @@ PACKAGECONFIG ??= "wispr iptables client\
   \frametitle{Python task example}
   \begin{minted}{python}
 # Anonymous function
-python () {
+python __anonymous() {
     if d.getVar("FOO", True) == "example":
         d.setVar("BAR", "Hello, World.")
 }




More information about the training-materials-updates mailing list