diff idavoll/backend.py @ 169:96afb248df5e

Fix typos in service creation. Make disco not respond when a resource is provided.
author Ralph Meijer <ralphm@ik.nu>
date Thu, 04 Oct 2007 08:03:51 +0000
parents e2c2c2baf483
children bc269696ef42
line wrap: on
line diff
--- a/idavoll/backend.py	Wed Oct 03 19:07:50 2007 +0000
+++ b/idavoll/backend.py	Thu Oct 04 08:03:51 2007 +0000
@@ -461,6 +461,8 @@
         return d
 
     def getNodes(self, requestor, service):
+        if service.resource:
+            return defer.succeed([])
         d = self.backend.get_nodes()
         return d.addErrback(self._mapErrors)