X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2F__init__.py.in;h=f80cf658622ed876a13942d9f416449d1698b4de;hb=0fd756a43bce605875565a14c1ed1b070fa3ad94;hp=d064dc592847688e40501cc677ec712cd248ef92;hpb=78288f581343ec033cc38898777fe43a02380719;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/__init__.py.in b/bindings/python/bt2/bt2/__init__.py.in index d064dc59..f80cf658 100644 --- a/bindings/python/bt2/bt2/__init__.py.in +++ b/bindings/python/bt2/bt2/__init__.py.in @@ -37,22 +37,11 @@ from bt2.component import _UserSinkComponent from bt2.component import _UserSourceComponent from bt2.connection import * from bt2.connection import _Connection -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 * @@ -63,20 +52,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): @@ -84,11 +69,7 @@ class Error(Exception): class CreationError(Error): - pass - - -class Frozen(Error): - pass + '''Raised when object creation fails due to memory issues.''' class InvalidQueryObject(Error): @@ -99,14 +80,6 @@ class InvalidQueryParams(Error): pass -class UnsupportedFeature(Exception): - pass - - -class NoSinkComponent(Exception): - pass - - class TryAgain(Exception): pass @@ -123,10 +96,6 @@ class IncompleteUserClass(Error): pass -class CannotConsumeGraph(Error): - pass - - class GraphCanceled(Exception): pass @@ -135,11 +104,7 @@ class QueryExecutorCanceled(Exception): pass -class MessageIteratorCanceled(Exception): - pass - - -class ConnectionEnded(Exception): +class NonexistentClockSnapshot(Error): pass