projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3e05e71
)
Fix: bt2: _EventConst.__getitem__(): check if event has a packet
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Tue, 7 Apr 2020 13:41:55 +0000
(09:41 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Wed, 8 Apr 2020 17:01:12 +0000
(13:01 -0400)
I'm also adding a test to check this. Without this patch and an invalid
key, __getitem__() throws `AttributeError` instead of the expected
`KeyError`.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ie6258a2354ece8aee6c8530587c900ea08e45fe8
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3349
Tested-by: jenkins <jenkins@lttng.org>
No differences found
This page took
0.026288 seconds
and
4
git commands to generate.