Yocto Project Documentation
 help / color / mirror / Atom feed
* [PATCH] doc: continue the eventmask example onto its second line
@ 2026-08-31  3:33 Trevor Woerner
  0 siblings, 0 replies; only message in thread
From: Trevor Woerner @ 2026-08-31  3:33 UTC (permalink / raw)
  To: docs; +Cc: bitbake-devel

A value ends at the closing quote on the same logical line, so the example
does not parse as printed.

AI-Generated: codex/claude opus 5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index b0535b5dd459..111e8fe58b4f 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -1902,8 +1902,9 @@ and the content of the :term:`FILE` variable::
        print("The name of the Event is %s" % getName(e))
        print("The file we run for is %s" % d.getVar('FILE'))
    }
-   myclass_eventhandler[eventmask] = "bb.event.BuildStarted
-   bb.event.BuildCompleted"
+   myclass_eventhandler[eventmask] = "bb.event.BuildStarted \
+                                      bb.event.BuildCompleted \
+                                      "
 
 In the previous example, an eventmask has been
 set so that the handler only sees the "BuildStarted" and
-- 
2.50.0.173.g8b6f19ccfc3a



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-31  3:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31  3:33 [PATCH] doc: continue the eventmask example onto its second line Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox