Skip to contentSkip to conversation

doc: continue the eventmask example onto its second line

PATCH New Trevor Woerner 1 participant 1 message Aug 31

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: continue the eventmask example onto its second line

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)

---
 doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +3 -2
index b0535b5dd459..111e8fe58b4f 100644
@@ -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
Signature · 1 line
2.50.0.173.g8b6f19ccfc3a