electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f4b16219100ed4502f7e5c7c55f0a52f67e56388
parent 88d4dab6cb839f37b5758ae7f6cbae9df56e07a7
Author: ThomasV <thomasv@gitorious>
Date:   Sat,  5 Apr 2014 18:35:15 +0200

rename do_send as send. fixes #645

Diffstat:
Mlib/daemon.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/daemon.py b/lib/daemon.py @@ -132,10 +132,10 @@ class NetworkProxy(threading.Thread): if message not in self.subscriptions[callback]: self.subscriptions[callback].append(message) - self.do_send( messages, callback ) + self.send( messages, callback ) - def do_send(self, messages, callback): + def send(self, messages, callback): """return the ids of the requests that we sent""" out = '' ids = [] @@ -155,7 +155,7 @@ class NetworkProxy(threading.Thread): def synchronous_get(self, requests, timeout=100000000): queue = Queue.Queue() - ids = self.do_send(requests, lambda i,x: queue.put(x)) + ids = self.send(requests, lambda i,x: queue.put(x)) id2 = ids[:] res = {} while ids: