summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-12-04 18:59:29 +0000
committerTed Ross <tross@apache.org>2009-12-04 18:59:29 +0000
commit66576cdc558e8d5cbb95ed70e851005b4273a0ae (patch)
treed76ba568575bf0de335ca67634652d272a75fadf /cpp/bindings/qmf/python
parent0e1be326677cf7540d7006efc5f9bad9f47219ce (diff)
downloadqpid-python-66576cdc558e8d5cbb95ed70e851005b4273a0ae.tar.gz
QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields incorrect results
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/python')
-rw-r--r--cpp/bindings/qmf/python/qmf.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/bindings/qmf/python/qmf.py b/cpp/bindings/qmf/python/qmf.py
index e97279a8fa..233f1c83d8 100644
--- a/cpp/bindings/qmf/python/qmf.py
+++ b/cpp/bindings/qmf/python/qmf.py
@@ -35,7 +35,6 @@ from qmfengine import (TYPE_ABSTIME, TYPE_ARRAY, TYPE_BOOL, TYPE_DELTATIME,
from qmfengine import (O_EQ, O_NE, O_LT, O_LE, O_GT, O_GE, O_RE_MATCH, O_RE_NOMATCH,
E_NOT, E_AND, E_OR, E_XOR)
-
##==============================================================================
## CONNECTION
##==============================================================================
@@ -561,9 +560,7 @@ class ObjectId:
def __eq__(self, other):
if not isinstance(other, self.__class__): return False
- return (self.impl.getObjectNumHi() == other.impl.getObjectNumHi() and
- self.impl.getObjectNumLo() == other.impl.getObjectNumLo())
-
+ return self.impl == other.impl
def __ne__(self, other):
return not self.__eq__(other)