commit 52d72a527acc04befc7263b23397aa7f0687b467
parent c9ffb1b4bad218798652965f993789404407da43
Author: ThomasV <thomasv@gitorious>
Date: Tue, 23 Oct 2012 08:15:53 +0200
fix: break the loop
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/interface.py b/lib/interface.py
@@ -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