From 666877be3fa00c69319db935549f3b8ea3c14f6e Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Mon, 8 Apr 2013 17:05:35 -0300 Subject: Add missing import for socket and forward signal()s paramteres --- src/leap/common/events/__init__.py | 2 +- src/leap/common/events/server.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/leap/common') diff --git a/src/leap/common/events/__init__.py b/src/leap/common/events/__init__.py index b8441bd..c949080 100644 --- a/src/leap/common/events/__init__.py +++ b/src/leap/common/events/__init__.py @@ -97,4 +97,4 @@ def signal(signal, content="", mac_method="", mac="", reqcbk=None, calls @rtype: leap.common.events.events_pb2.EventsResponse or None """ - return component.signal(signal) + return component.signal(signal, content, mac_method, mac, reqcbk, timeout) diff --git a/src/leap/common/events/server.py b/src/leap/common/events/server.py index 5cc1add..e2365cb 100644 --- a/src/leap/common/events/server.py +++ b/src/leap/common/events/server.py @@ -29,6 +29,7 @@ A server can receive different kinds of requests from components: import logging import sets +import socket from protobuf.socketrpc import RpcService -- cgit v1.2.3