diff idavoll/backend.py @ 172:9bfb00edd0cc

Fix Backend's getNodeInfo so that it properly adds its errback. Author: ralphm. Fixes #9.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 15 Jan 2008 14:00:07 +0000
parents bc269696ef42
children 79d451d186b1
line wrap: on
line diff
--- a/idavoll/backend.py	Thu Jan 03 13:10:25 2008 +0000
+++ b/idavoll/backend.py	Tue Jan 15 14:00:07 2008 +0000
@@ -455,7 +455,7 @@
         d.addCallback(saveType)
         d.addCallback(self.backend.get_node_meta_data)
         d.addCallback(saveMetaData)
-        d.errback(self._mapErrors)
+        d.addErrback(self._mapErrors)
         return d
 
     def getNodes(self, requestor, service):