bt2: Mass notification -> message rename
[babeltrace.git] / bindings / python / babeltrace / babeltrace / reader_trace_collection.py
index 0ca484d70082b2c5dc16f7f935bbc8538424689d..e6544a8229dd3eebd3ea906856ba531e79808fa8 100644 (file)
@@ -169,11 +169,11 @@ class TraceCollection:
         specs = [bt2.ComponentSpec('ctf', 'fs', th.path) for th in self._trace_handles]
 
         try:
-            iter_cls = bt2.TraceCollectionNotificationIterator
+            iter_cls = bt2.TraceCollectionMessageIterator
             tc_iter = iter_cls(specs,
                                stream_intersection_mode=self._intersect_mode,
                                begin=begin_s, end=end_s,
-                               notification_types=[bt2.EventNotification])
+                               message_types=[bt2.EventMessage])
             return map(reader_event._create_event, tc_iter)
         except:
             raise ValueError
This page took 0.024173 seconds and 4 git commands to generate.