Revision: 377
Author: bslatkin
Date: Sun Jul 11 22:58:45 2010
Log: hub: apiproxy tweak
http://code.google.com/p/pubsubhubbub/source/detail?r=377
Modified:
/trunk/hub/async_apiproxy.py
=======================================
--- /trunk/hub/async_apiproxy.py Sun Jul 11 22:57:08 2010
+++ /trunk/hub/async_apiproxy.py Sun Jul 11 22:58:45 2010
@@ -74,7 +74,7 @@
lambda: self.end_call(done_callback),
deadline=deadline)
setattr(rpc, 'user_callback', user_callback)
- setattr(rpc, 'pbresponse', user_callback)
+ setattr(rpc, 'pbresponse', pbresponse)
self.enqueued.append(rpc)
show_request = '...'
@@ -131,6 +131,5 @@
# come back during any outbound API call.
self._run_callbacks()
self._wait_one()
- self._run_callbacks()
# Run them one last time after waiting to pick up the final callback!
self._run_callbacks()