From f3b3982a0e53b1ff2cfc7fa9c3288e3156bfdd55 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 3 Sep 2013 15:51:54 +0200 Subject: Fix Exception use --- src/leap/common/events/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/leap/common/events/client.py b/src/leap/common/events/client.py index 4ae9bff..816cec1 100644 --- a/src/leap/common/events/client.py +++ b/src/leap/common/events/client.py @@ -120,7 +120,7 @@ def register(signal, callback, uid=None, replace=False, reqcbk=None, cbklist = registered_callbacks[signal] if uid and filter(lambda (x, y): x == uid, cbklist): if not replace: - raise CallbackAlreadyRegisteredException() + raise CallbackAlreadyRegistered() else: registered_callbacks[signal] = filter(lambda(x, y): x != uid, cbklist) -- cgit v1.2.3