changeset 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 aebb96bfa8d1
children 4517978a2e7e
files libervia.tac
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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)