projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests: Multi-trace stream intersection test
[babeltrace.git]
/
bindings
/
python
/
writer.py
diff --git
a/bindings/python/writer.py
b/bindings/python/writer.py
index b419a271161f198c4fe6c2d48a9ea1f3e1091892..dc65b2438d7c60976fe54a24cf80fcb5ac12f182 100644
(file)
--- a/
bindings/python/writer.py
+++ b/
bindings/python/writer.py
@@
-158,6
+158,9
@@
class Clock:
def precision(self, precision):
ret = nbt._bt_ctf_clock_set_precision(self._c, precision)
+ if ret < 0:
+ raise ValueError("Invalid precision value.")
+
@property
def offset_seconds(self):
"""
This page took
0.027123 seconds
and
4
git commands to generate.