From 52d72a527acc04befc7263b23397aa7f0687b467 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 23 Oct 2012 08:15:53 +0200 Subject: [PATCH] fix: break the loop --- lib/interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/interface.py b/lib/interface.py index 5f8c62d86..af3ada1fd 100644 --- 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