Commit ce17b91c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Node.getType() is required for type-based indexation, keep it.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1735 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 42194852
...@@ -139,7 +139,6 @@ class Node(object): ...@@ -139,7 +139,6 @@ class Node(object):
return self._uuid > node._uuid return self._uuid > node._uuid
return self._address > node._address return self._address > node._address
# XXX: for comptatibility, to be removed
def getType(self): def getType(self):
try: try:
return NODE_CLASS_MAPPING[self.__class__] return NODE_CLASS_MAPPING[self.__class__]
......
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