summaryrefslogtreecommitdiff
path: root/python/qpid/ops.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-10-10 17:15:31 +0000
committerRafael H. Schloming <rhs@apache.org>2009-10-10 17:15:31 +0000
commit13e6bd9704643993d95c81f22106dae5b59b3084 (patch)
tree2dbfa0faacecf665170120c61ec6239e5bff5a9c /python/qpid/ops.py
parentc68d17bf36649f3ba68334c3147e2d0da7246e67 (diff)
downloadqpid-python-13e6bd9704643993d95c81f22106dae5b59b3084.tar.gz
made addresses not auto-create by default; added error handling and tests for nonexist/invalid addresses; added logging for aborted connections; fixed spurious reattach
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823890 13f79535-47bb-0310-9956-ffa450edef68
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),