diff idavoll/backend.py @ 72:a914cad421c5

Added get_nodes() to BackendService.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 07 Nov 2004 14:19:46 +0000
parents d617f8d19263
children ec354aab3949
line wrap: on
line diff
--- a/idavoll/backend.py	Sun Nov 07 14:18:26 2004 +0000
+++ b/idavoll/backend.py	Sun Nov 07 14:19:46 2004 +0000
@@ -151,8 +151,10 @@
         return True
 
     def get_node_type(self, node_id):
-        d = self.storage.get_node_type(node_id)
-        return d
+        return self.storage.get_node_type(node_id)
+
+    def get_nodes(self):
+        return self.storage.get_nodes()
 
 class PublishService(service.Service):