diff options
Diffstat (limited to 'python/qpid')
| -rw-r--r-- | python/qpid/datatypes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/qpid/datatypes.py b/python/qpid/datatypes.py index 38fc163dd9..eb1f86b0b0 100644 --- a/python/qpid/datatypes.py +++ b/python/qpid/datatypes.py @@ -297,6 +297,9 @@ class UUID: def __repr__(self): return "UUID(%r)" % str(self) + def __hash__(self): + return self.bytes.__hash__() + class timestamp(float): def __new__(cls, obj=None): |
