Replace isinstance(node, ...Node) by node.getNodeType() == ..._NODE_TYPE (and...
Replace isinstance(node, ...Node) by node.getNodeType() == ..._NODE_TYPE (and similar). This makes things easier to unit test. Add missing imports. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@303 71dcc9de-d417-0410-9af5-da40c76e7ee4
Showing
Please register or sign in to comment