X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fmessage.py;h=fd92361dd69371981310b21792e76dafa363a22d;hb=60d02328261d37044d37a7d77b3d3847db5c72bf;hp=cdf18879672414f3f1902949c889a2ce0e05376b;hpb=f615b25000172f8d9607039fe94a0662533e0394;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/message.py b/src/bindings/python/bt2/bt2/message.py index cdf18879..fd92361d 100644 --- a/src/bindings/python/bt2/bt2/message.py +++ b/src/bindings/python/bt2/bt2/message.py @@ -195,15 +195,15 @@ class _StreamEndMessage(_StreamMessage): class _MessageIteratorInactivityMessageConst( _MessageConst, _MessageWithDefaultClockSnapshot ): - _borrow_default_clock_snapshot_ptr = staticmethod( - native_bt.message_message_iterator_inactivity_borrow_default_clock_snapshot_const + _borrow_clock_snapshot_ptr = staticmethod( + native_bt.message_message_iterator_inactivity_borrow_clock_snapshot_const ) @property - def default_clock_snapshot(self): - # This kind of message always has a default clock class: no + def clock_snapshot(self): + # This kind of message always has a clock class: no # need to call self._check_has_default_clock_class() here. - return self._get_default_clock_snapshot(self._borrow_default_clock_snapshot_ptr) + return self._get_default_clock_snapshot(self._borrow_clock_snapshot_ptr) class _MessageIteratorInactivityMessage(