X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;h=f0e4e4b2886cc712bab8217e783ed13268d8f5d0;hb=7e4b80cc148d07716d605eb220f6f54aeddd9363;hp=7b866fbd7d38f833e181bca5ae1e4b5210958fec;hpb=894a8df566ca63e6b53c831d245569d8598c5889;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/__init__.py.in b/bindings/python/bt2/bt2/__init__.py.in index 7b866fbd..f0e4e4b2 100644 --- a/bindings/python/bt2/bt2/__init__.py.in +++ b/bindings/python/bt2/bt2/__init__.py.in @@ -42,17 +42,8 @@ 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 * @@ -68,6 +59,7 @@ 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 @@ -79,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): @@ -94,14 +82,6 @@ class InvalidQueryParams(Error): pass -class UnsupportedFeature(Exception): - pass - - -class NoSinkComponent(Exception): - pass - - class TryAgain(Exception): pass @@ -118,10 +98,6 @@ class IncompleteUserClass(Error): pass -class CannotConsumeGraph(Error): - pass - - class GraphCanceled(Exception): pass @@ -130,11 +106,7 @@ class QueryExecutorCanceled(Exception): pass -class MessageIteratorCanceled(Exception): - pass - - -class ConnectionEnded(Exception): +class NoDefaultClockClass(Error): pass