Skip to content

event: Inject empty lines to make code match lineno in filename

[email protected] bitbake-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v31 patch 3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bitbake: event: Inject empty lines to make code match lineno in filenamebitbake/lib/bb/event.py+3 -20 replies
2/2bitbake: tests/event: Add test_lineno_in_eventhandlerbitbake/lib/bb/tests/event.py+24 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] event: Inject empty lines to make code match lineno in filename

From: Robert Yang <[email protected]>

* V4:
- Check lineno is not None
- Add a testcase for it

// Robert

The following changes since commit 070aa227057e4913cf77c2465393a5a8398d5641:

bitbake: toaster/tests: Delay driver first action on create new project page (2024-01-07 22:59:55 +0000)

are available in the Git repository at:

https://github.com/robertlinux/yocto rbt/event
https://github.com/robertlinux/yocto/tree/rbt/event

Robert Yang (2):
bitbake: event: Inject empty lines to make code match lineno in
filename
bitbake: tests/event: Add test_lineno_in_eventhandler

 bitbake/lib/bb/event.py       |  5 +++--
 bitbake/lib/bb/tests/event.py | 24 ++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 2 deletions(-)
Signature · 1 line
2.35.5