improve comment
This commit is contained in:
2
base.py
2
base.py
@@ -60,10 +60,10 @@ class Client(HandlerBase):
|
||||
if node is None:
|
||||
|
||||
def change_callback(dictionary=self.dictionary, kind_uri=(kind, uri)):
|
||||
# do not keep changed nodes in dict
|
||||
dictionary.pop(kind_uri, None)
|
||||
|
||||
node = server.interactor_classes[kind](uri, self.node_map, change_callback)
|
||||
|
||||
self.dictionary[kind, uri] = node
|
||||
else:
|
||||
node.update_node_map(self.node_map)
|
||||
|
||||
Reference in New Issue
Block a user