changeset 104:d42327839888

Fix location of errback.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 08 Apr 2005 09:54:41 +0000
parents e7349d94d0c3
children 8d8946e67fcb
files idavoll/pubsub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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