diff idavoll/pgsql_storage.py @ 173:246911bcb699

Make node type part of node configuration.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 09 Apr 2008 11:43:16 +0000
parents bc269696ef42
children fc687620599b
line wrap: on
line diff
--- a/idavoll/pgsql_storage.py	Tue Jan 15 14:00:07 2008 +0000
+++ b/idavoll/pgsql_storage.py	Wed Apr 09 11:43:16 2008 +0000
@@ -46,7 +46,7 @@
         d.addCallback(lambda results: [r[0] for r in results])
         return d
 
-    def create_node(self, node_id, owner, type='leaf'):
+    def create_node(self, node_id, owner, config=None):
         return self._dbpool.runInteraction(self._create_node, node_id, owner)
 
     def _create_node(self, cursor, node_id, owner):