[bootlin/training-materials updates] master: slides: yocto-recipe-extra: add marked anonymous function (ee394769)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:40 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/ee3947695231b8df3394890af2d63ab6d01b04ab
>---------------------------------------------------------------
commit ee3947695231b8df3394890af2d63ab6d01b04ab
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>
>---------------------------------------------------------------
ee3947695231b8df3394890af2d63ab6d01b04ab
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