projects
/
deliverable
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: babeltrace: writer.py: do not use += on bt2.trace._TraceEnv
[deliverable/babeltrace.git]
/
bindings
/
python
/
babeltrace
/
babeltrace
/
writer.py
diff --git
a/bindings/python/babeltrace/babeltrace/writer.py
b/bindings/python/babeltrace/babeltrace/writer.py
index 61d28a5161cf1729ff729e68c0fe9f4c66c48836..d5f282e630c76b20ede7c9adee3225bdeacb712a 100644
(file)
--- a/
bindings/python/babeltrace/babeltrace/writer.py
+++ b/
bindings/python/babeltrace/babeltrace/writer.py
@@
-1954,7
+1954,7
@@
class Writer:
raise TypeError("Value type is not supported.")
try:
- self._w.trace.env
+= {name: value}
+ self._w.trace.env
[name] = value
except:
raise ValueError("Could not add environment field to trace.")
This page took
0.023453 seconds
and
5
git commands to generate.