Skip to content
Snippets Groups Projects
Commit 6da8375c authored by jkerdreu's avatar jkerdreu
Browse files

Missing __eq__ introduce a nasty bug in UUID binding.

Fixed last week, but still commit pending :(




git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2456 b32b6428-25c9-4566-ad07-03861ab6144f
parent 974f1f4b
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ class UUID:
tmp = self.__uuid.int - value
return UUID(int=tmp)
def __eq__(self,value):
return self.__uuid == value
def __str__(self):
return str(self.__uuid)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment