summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-09 10:48:23 -0400
committerKali Kaneko <kali@leap.se>2016-03-09 10:48:23 -0400
commit07dff4d010b284d8d46eb3b8a859083013c7441f (patch)
tree8bdaeb5cb156c013af1a018362678b48940fb68e
parent027ad7eed50947608738ce0009fccf776936e55c (diff)
[style] pep8
-rw-r--r--src/leap/common/events/server.py2
-rw-r--r--src/leap/common/events/tests/test_events.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/common/events/server.py b/src/leap/common/events/server.py
index ad79abe..05fc23e 100644
--- a/src/leap/common/events/server.py
+++ b/src/leap/common/events/server.py
@@ -51,7 +51,7 @@ def ensure_server(emit_addr=EMIT_ADDR, reg_addr=REG_ADDR, path_prefix=None,
:rtype: EventsServer
"""
_server = EventsServer(emit_addr, reg_addr, path_prefix, factory=factory,
- enable_curve=enable_curve)
+ enable_curve=enable_curve)
return _server
diff --git a/src/leap/common/events/tests/test_events.py b/src/leap/common/events/tests/test_events.py
index c45601b..d8435c6 100644
--- a/src/leap/common/events/tests/test_events.py
+++ b/src/leap/common/events/tests/test_events.py
@@ -89,7 +89,6 @@ class EventsGenericClientTestCase(object):
self.assertTrue(callbacks[event2][uid2] == cbk2,
'Could not register event in local client.')
-
def test_register_signal_replace(self):
"""
Make sure clients can replace already registered callbacks.