cleanup
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 25 Nov 2006 09:38:34 +0000 (09:38 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 25 Nov 2006 09:38:34 +0000 (09:38 +0000)
PLC/Methods/AddNode.py

index cacfdb2..2fc9837 100644 (file)
@@ -60,9 +60,6 @@ class AddNode(Method):
 
         node = Node(self.api, node_fields)
         node['site_id'] = site['site_id']
-        # xxx temporary, until I figure a way to get local/foreign nodes
-        # so far I cannot seem to use a filter/dict like {'~peer_id':None}
-        # node['peer_id'] = 0
         node.sync()
 
        self.object_ids = [site['site_id'], node['node_id']]