diff options
| author | Ted Ross <tross@apache.org> | 2009-12-04 18:59:29 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-12-04 18:59:29 +0000 |
| commit | 344d932451f98abeb249cd38b49663e438a1ecdc (patch) | |
| tree | ae3c25f04760e5000743746375cf11be03850190 /qpid/cpp/bindings/qmf/python | |
| parent | 876fea5cfb56d2f10fe8cf4561956afd38bd11e7 (diff) | |
| download | qpid-python-344d932451f98abeb249cd38b49663e438a1ecdc.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@887320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/python')
| -rw-r--r-- | qpid/cpp/bindings/qmf/python/qmf.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qpid/cpp/bindings/qmf/python/qmf.py b/qpid/cpp/bindings/qmf/python/qmf.py index e97279a8fa..233f1c83d8 100644 --- a/qpid/cpp/bindings/qmf/python/qmf.py +++ b/qpid/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) |
