diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-03-10 19:12:09 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-03-10 19:12:09 +0000 |
commit | 713c0c114f8d344beb58d5f99d0cb602485399cf (patch) | |
tree | da91f2d82f9bce5f5939d18db3526851ffd2ff95 /python/qpid/connection010.py | |
parent | aeb6df01fad88c3202c9e30205ec60801d672d9c (diff) | |
download | qpid-python-713c0c114f8d344beb58d5f99d0cb602485399cf.tar.gz |
renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming conflicts with metadata-driven fields; moved argument validation -> datatypes.Struct and improved error checking; improved datatypes.Struct.__repr__
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/connection010.py')
-rw-r--r-- | python/qpid/connection010.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/connection010.py b/python/qpid/connection010.py index 022ef8e411..1235476b82 100644 --- a/python/qpid/connection010.py +++ b/python/qpid/connection010.py @@ -166,7 +166,7 @@ class Channel(Invoker): def invoke(self, type, args, kwargs): cntrl = type.new(args, kwargs) sc = StringCodec(self.connection.spec) - sc.write_control(type, cntrl) + sc.write_control(cntrl) self.connection.write_segment(Segment(True, True, type.segment_type, type.track, self.id, sc.encoded)) |