summaryrefslogtreecommitdiff
path: root/python/qpid/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/message.py')
-rw-r--r--python/qpid/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/message.py b/python/qpid/message.py
index 970ab9d974..7e28b63037 100644
--- a/python/qpid/message.py
+++ b/python/qpid/message.py
@@ -26,7 +26,7 @@ class Message:
self.frame = frame
self.method = frame.method_type
self.content = content
- if self.method.klass.name != "execution":
+ if self.method.is_l4_command():
self.command_id = self.channel.incoming_completion.sequence.next()
#print "allocated: ", self.command_id, "to ", self.method.klass.name, "_", self.method.name