X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fclock_class.py;h=6aed8928e57b162ef5b5d4b4a28933345da3c4ec;hb=5c8b3186c2a70219aadffde5eaa8166e250f2994;hp=229121ed6f1462e37b239b29b2d231449cd295b9;hpb=b4dd1cf02cab4b3aae98dc7f0576bf737930fbf5;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/clock_class.py b/bindings/python/bt2/bt2/clock_class.py index 229121ed..6aed8928 100644 --- a/bindings/python/bt2/bt2/clock_class.py +++ b/bindings/python/bt2/bt2/clock_class.py @@ -26,6 +26,7 @@ import numbers import bt2 import bt2.clock_value as clock_value + class ClockClassOffset: def __init__(self, seconds=0, cycles=0): utils._check_int64(seconds) @@ -220,4 +221,3 @@ class ClockClass(object._Object): def __call__(self, cycles): return clock_value._ClockValue(self._ptr, cycles) -