summaryrefslogtreecommitdiff
path: root/python/qpid/spec.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/spec.py')
-rw-r--r--python/qpid/spec.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/qpid/spec.py b/python/qpid/spec.py
index 09e7dc9d0b..9bbe709ed9 100644
--- a/python/qpid/spec.py
+++ b/python/qpid/spec.py
@@ -191,6 +191,9 @@ class Method(Metadata):
self.docs = docs
self.response = False
+ def is_l4_command(self):
+ return self.klass.name not in ["execution", "channel", "connection"]
+
def arguments(self, *args, **kwargs):
nargs = len(args) + len(kwargs)
maxargs = len(self.fields)