summaryrefslogtreecommitdiff
path: root/python/qpid/ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/ops.py')
-rw-r--r--python/qpid/ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/ops.py b/python/qpid/ops.py
index 422a104466..277d059203 100644
--- a/python/qpid/ops.py
+++ b/python/qpid/ops.py
@@ -80,7 +80,7 @@ class Compound(object):
return "%s(%s)" % (self.__class__.__name__,
", ".join(["%s=%r" % (f.name, getattr(self, f.name))
for f in self.ARGS
- if getattr(self, f.name) is not f.default]))
+ if getattr(self, f.name) != f.default]))
class Command(Compound):
UNENCODED=[Field("channel", "uint16", 0),