X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;h=f0e4e4b2886cc712bab8217e783ed13268d8f5d0;hb=7e4b80cc148d07716d605eb220f6f54aeddd9363;hp=8e26fc73fc8f01eb22d46df80ad870a84d8f7fa4;hpb=c4239792c6758f579fb9482ddccf336f1bbf26c4;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/__init__.py.in b/bindings/python/bt2/bt2/__init__.py.in index 8e26fc73..f0e4e4b2 100644 --- a/bindings/python/bt2/bt2/__init__.py.in +++ b/bindings/python/bt2/bt2/__init__.py.in @@ -24,7 +24,6 @@ __version__ = '@PACKAGE_VERSION@' from bt2.clock_class import * -from bt2.clock_class_priority_map import * from bt2.clock_snapshot import * from bt2.component import * from bt2.component import _FilterComponent @@ -38,23 +37,13 @@ from bt2.component import _UserSinkComponent from bt2.component import _UserSourceComponent from bt2.connection import * from bt2.connection import _Connection -from bt2.connection import _PrivateConnection from bt2.ctf_writer import * from bt2.ctf_writer import _CtfWriterStream from bt2.event import _Event from bt2.event_class import * from bt2.field_class import * -from bt2.field_class import _FieldClass +from bt2.field_path import * from bt2.field import * -from bt2.field import _ArrayField -from bt2.field import _EnumerationField -from bt2.field import _Field -from bt2.field import _FloatingPointNumberField -from bt2.field import _IntegerField -from bt2.field import _SequenceField -from bt2.field import _StringField -from bt2.field import _StructureField -from bt2.field import _VariantField from bt2.graph import * from bt2.logging import * from bt2.message import * @@ -65,20 +54,16 @@ from bt2.message_iterator import _UserMessageIterator from bt2.packet import _Packet from bt2.plugin import * from bt2.port import * -from bt2.port import _InputPort -from bt2.port import _OutputPort -from bt2.port import _Port -from bt2.port import _PrivateInputPort -from bt2.port import _PrivateOutputPort -from bt2.port import _PrivatePort from bt2.py_plugin import * from bt2.query_executor import * from bt2.stream import _Stream from bt2.stream_class import * from bt2.trace import * +from bt2.trace_class import * from bt2.trace_collection_message_iterator import * from bt2.value import * from bt2.value import _Value +from bt2.value import _IntegerValue class Error(Exception): @@ -86,11 +71,7 @@ class Error(Exception): class CreationError(Error): - pass - - -class Frozen(Error): - pass + '''Raised when object creation fails due to memory issues.''' class InvalidQueryObject(Error): @@ -101,14 +82,6 @@ class InvalidQueryParams(Error): pass -class UnsupportedFeature(Exception): - pass - - -class NoSinkComponent(Exception): - pass - - class TryAgain(Exception): pass @@ -125,10 +98,6 @@ class IncompleteUserClass(Error): pass -class CannotConsumeGraph(Error): - pass - - class GraphCanceled(Exception): pass @@ -137,11 +106,7 @@ class QueryExecutorCanceled(Exception): pass -class MessageIteratorCanceled(Exception): - pass - - -class ConnectionEnded(Exception): +class NoDefaultClockClass(Error): pass