diff idavoll/pubsub.py @ 104:d42327839888

Fix location of errback.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 08 Apr 2005 09:54:41 +0000
parents f4d725a94202
children 8d8946e67fcb
line wrap: on
line diff
--- a/idavoll/pubsub.py	Sun Jan 02 20:37:08 2005 +0000
+++ b/idavoll/pubsub.py	Fri Apr 08 09:54:41 2005 +0000
@@ -141,8 +141,8 @@
         else:
             try:
                 d = self.backend.get_node_type(node)
+                d.addCallback(self._add_identity, [], node)
                 d.addErrback(lambda _: [])
-                d.addCallback(self._add_identity, [], node)
             except backend.NodeNotFound:
                 return defer.succeed([])
             return d