summaryrefslogtreecommitdiff
path: root/python/qpid/peer.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/peer.py')
-rw-r--r--python/qpid/peer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qpid/peer.py b/python/qpid/peer.py
index 31d3d24f5f..3085e24247 100644
--- a/python/qpid/peer.py
+++ b/python/qpid/peer.py
@@ -146,7 +146,6 @@ class Channel:
def invoke(self, method, args, content = None):
if self.closed:
raise Closed(self.reason)
-
frame = Frame(self.id, Method(method, *args))
self.outgoing.put(frame)
@@ -181,7 +180,7 @@ class Channel:
def write_content(self, klass, content, queue):
size = content.size()
- header = Frame(self.id, Header(klass, content.weight(), size))
+ header = Frame(self.id, Header(klass, content.weight(), size, **content.properties))
queue.put(header)
for child in content.children:
self.write_content(klass, child, queue)