diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-04-08 17:05:35 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-04-08 17:05:35 -0300 |
commit | 666877be3fa00c69319db935549f3b8ea3c14f6e (patch) | |
tree | 8b93ef5a4581f1144b9809875c2c995306605d84 /src | |
parent | 138def37372c44815ebc6e8cdb117e1158044d8e (diff) |
Add missing import for socket and forward signal()s paramteres
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/common/events/__init__.py | 2 | ||||
-rw-r--r-- | src/leap/common/events/server.py | 1 |
2 files changed, 2 insertions, 1 deletions
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 |