diff libervia.tac @ 277:ea2d4f464b5a

server side: fixed bad async bridge calls management
author Goffi <goffi@goffi.org>
date Fri, 13 Dec 2013 17:10:35 +0100
parents a763b2ac5d41
children 2d6bd975a72d
line wrap: on
line diff
--- a/libervia.tac	Thu Nov 21 18:57:46 2013 +0100
+++ b/libervia.tac	Fri Dec 13 17:10:35 2013 +0100
@@ -148,7 +148,7 @@
         def _errback(result):
             d.errback(Failure(unicode(result)))
 
-        kwargs["callback"] = d.callback
+        kwargs["callback"] = _callback
         kwargs["errback"] = _errback
         getattr(self.sat_host.bridge, method_name)(*args, **kwargs)
         return d
@@ -606,8 +606,6 @@
         def registered(result):
             request.write('REGISTRATION')
             request.finish()
-            #import pudb
-            #pudb.set_trace()
 
         def registeringError(failure):
             reason = str(failure.value)