Commit f6d78786 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Define a hash method in the same way as Base.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@669 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 458be149
...@@ -79,5 +79,9 @@ class XMLObject( Folder ): ...@@ -79,5 +79,9 @@ class XMLObject( Folder ):
""" """
pass pass
# Hash method
def __hash__(self):
return self.getUid()
InitializeClass(XMLObject) InitializeClass(XMLObject)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment