tfix: break the loop - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 52d72a527acc04befc7263b23397aa7f0687b467
DIR parent c9ffb1b4bad218798652965f993789404407da43
HTML Author: ThomasV <thomasv@gitorious>
Date: Tue, 23 Oct 2012 08:15:53 +0200
fix: break the loop
Diffstat:
M lib/interface.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/lib/interface.py b/lib/interface.py
t@@ -106,6 +106,7 @@ class Interface(threading.Thread):
for k,v in self.subscriptions.items():
if (method, params) in v:
channel = k
+ break
else:
print "received unexpected notification", method, params
print self.subscriptions