Commit 2b2950a8 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix variable access.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@970 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 2d197e51
...@@ -495,7 +495,7 @@ def _checkNodeState(state): ...@@ -495,7 +495,7 @@ def _checkNodeState(state):
return node_state return node_state
def _checkNodeType(original_node_type): def _checkNodeType(original_node_type):
node_type = node_types.get(node_type) node_type = node_types.get(original_node_type)
if node_type is None: if node_type is None:
raise PacketMalformedError('invalid node type %d' % original_node_type) raise PacketMalformedError('invalid node type %d' % original_node_type)
return node_type return node_type
......
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